textStyle

Jan Schenkel janschenkel at yahoo.com
Mon Nov 11 12:30:01 EST 2002


--- yves COPPE <yvescoppe at skynet.be> wrote:
> Hi,
> 
> 
> I have a fld with some lines have textstyle turned
> to "link"
> 
> now I want
> 
> 1) disable the link Style
> I script :
> set the textstyle of fld "xxx" to plain"
> 
> it doesn't work !
> 
> 2) is it possible to have a line in "link" textstyle
> but without 
> showing the "underlining" of the "link" text style ?
> 

Hi Yves,

If you set the textStyle fo aa field that's its
default setting, overridden per chunk. So you need to
give it a chunk to play with.

Try this for approach 1:
  set the textStyle of char 1 to -1 of fld "xxx" \
    to "plain"

And for approach 2:
- the old HC property
  set the showGroups to false
- or its RR synonym:
  set the underlineLinks to false

Hop this helped,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2



More information about the use-livecode mailing list