"group" text deprecation?
Jeanne A. E. DeVoto
jeanne at runrev.com
Mon Mar 4 20:34:01 EST 2002
At 12:10 PM -0800 3/4/2002, mvivit wrote:
>I'm still hedging on making the jump to 1.1.1b1 with a large project that
>makes extensive use of the "group" text property as well as associated
>commands and messages. I see in the release notes for 1.1.1b1 that these
>are being replaced with the "link" text style and related commands and
>messages. Will the "group" suite continue to be supported for backwards
>compatibility? Thanks!
Text that is grouped is automatically converted to linked style (that is,
if you query the textStyle of a grouped character, it will return "link").
So you may have to change your scripts if they check the textStyle of
clicked text.
If you want to avoid the special appearance of links (blue and underlined),
you will also need to set the linkColor and related properties for your
stacks.
Other than that, your stacks should keep working as they do now. "Group" is
a synonym for "link"; "showGroups" is a synonym for "underlineLinks". I
can't say whether these synonyms will be supported forever, but they will
be there in 1.1.1 and I don't know of any plans to remove them.
--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!
More information about the use-livecode
mailing list