the texstyle of the clickline
Jan Schenkel
janschenkel at yahoo.com
Wed Sep 8 13:07:46 EDT 2004
--- doupsy at wanadoo.fr wrote:
> Hello,
>
> [snip]
>
> When the textstyle is "plain", I saw than sometimes
> the textstyle of
> the clickline can be "plain" and sometimes can be
> empty.
> With others textstyles (bold, italic, underline,
> etc...) there is no
> problem.
>
> I rectified this script like this :
>
> on mouseup
> if (the textstyle of the clickline is "plain" or
> the textstyle of the
> clickline is empty) then ......
> end mouseup
>
> Is there a better solution ?
>
> Thanks
>
> Leo
>
Bonjour Leo,
The only thing I can think of is to shorten it to :
--
if the textStyle of the clickLine is among \
the items of ",plain" then ...
--
But you're right, it's one of those peculiarities of
Revolution versus HyperCard.
Jan Schenkel.
=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
More information about the use-livecode
mailing list