` Printed Icetips Article

Icetips Article



Clarion in general: Popup menu font styles 2
2003-03-13 -- Mark Goldberg
 
Newsgroups: sv.clarion.documentation

Thank-you Carl,

> The easy way to do this is with the CWA Popup WYSIWYG Designer. Although ABC
> only supports Prop:Icon

Where is the Popup WYSIWYG designer?  I can't seem to find it in CWA5.exe
Ver 5.0c-32

I'll try prop:left & prop:leftoffset on Monday.
This seems to work.

bogus# = Popup('NonBold|' & |
       '[' & PROP:FontColor  & '(' & color:Blue &'),' & PROP:FontStyle & '('
       & FONT:Bold &')]This should be blue and bold|' & |
       '[' & PROP:FontColor  & '(' & color:Blue &')]This should be blue|' &|
       '[' & PROP:FontSize  & '(' & 14 &')]Is this 14 point?|' & |
       '[' & PROP:FontStyle & '(' & FONT:Underline &')]Should be Underlined|' & |
       '[' & PROP:FontStyle & '(' & FONT:Italic &')]Should be Italic|' & |
       '[' & PROP:FontStyle & '(' & FONT:BOLD &')]Should be Bold|' & |
       '[' & prop:Icon & '(~change.ico)]' & 'Should have an icon|' & |
       '[' & prop:Icon & '(~change.ico),' & prop:FontStyle &|
       '('& FONT:Bold &')]Should be bold with an icon #1|' & |
       '[' & prop:FontStyle & '('& FONT:Bold &'),' & prop:Icon &|
       '(~change.ico)]Should be bold with an icon #2|' & 'NonBold')


"carl barnes"  wrote in message
news:1_98_269@discuss.softvelocity.com...
> >I started to play around, see the program below.
> >I haven't figured out how to have 2 special attributes work at once (testing in EA3)
> >BTW, notice that the bolded line is indented, I assume there are leading
> >spaces and the bold DLU's cover more pixels.
>
> To have multiple items put commas between the close paren ) and the next
PROP:
> or between Props
> e.g. [31763(700),31762(16711680)]This should be blue and bold
> or
>   '[' & PROP:FontColor  & '(' & color:Blue & |
>   '),' & |  !<<< comma here
>   PROP:FontStyle & '(' & FONT:Bold &')]This should be blue and bold|' & |
>
>
> Use Prop:Left and Prop:LeftOffset() to control Left Margin.
>
> The easy way to do this is with the CWA Popup WYSIWYG Designer. Although
ABC
> only supports Prop:Icon
>
>
> >
> >Notice the problems with Font:Size if it gets too large.
> >
> >test program
> >   map
> >   end
> > code
> > Popup('NonBold|' & |
> >       '[' & PROP:FontColor  & '(' & color:Blue &')' & PROP:FontStyle &
'('
> >& FONT:Bold &')]This should be blue and bold|' & |
> >       '[' & PROP:FontColor  & '(' & color:Blue &')]This should be blue|'
&
> >|
> >       '[' & PROP:FontSize  & '(' & 14 &')]Is this 14 point?|' & |
> >       '[' & PROP:FontStyle & '(' & FONT:Underline &')]Should be
> >Underlined|' & |
> >       '[' & PROP:FontStyle & '(' & FONT:Italic &')]Should be Italic|' &
|
> >       '[' & PROP:FontStyle & '(' & FONT:BOLD &')]Should be Bold|' & |
> >       '[' & prop:Icon & '(~change.ico)]' & 'Should have an icon|' & |
> >       '[' & prop:Icon & '(~change.ico)' & prop:FontStyle & '('&
FONT:Bold
> >&')]Should be bold with an icon #1|' & |
> >       '[' & prop:FontStyle & '('& FONT:Bold &')' & prop:Icon &
> >'(~change.ico)]Should be bold with an icon #2|' & |
> >       'NonBold')
> >
> >
> >
>



Printed November 21, 2024, 10:35 am
This article has been viewed/printed 35218 times.
Google search has resulted in 18 hits on this article since January 25, 2004.