Passing Lists

Richard Gaskin ambassador at fourthworld.com
Wed Jan 15 14:14:01 EST 2003


Ken Ray wrote:

> I just tried this using the message box. "Condense" is not a text style, but
> you can do this:
> 
> set the textStyle of char 1 to 5 of fld "Text" to bold,italic
> 
> and it works...

This raises a point:  when styles for a specified chunk are mixed, getting
the textstyle returns "mixed".  That's not so bad and I understand why it
does that, but in such cases you cannot set the textstyle to the same value
you get from querrying it.

Any suggestions for a more self-constent form that would allow simple syntax
like this to work?:

 set the textstyle of btn 1 to the textstyle of char 20 to 30 of fld 1

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.1: Publish any database on any site
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc




More information about the use-livecode mailing list