mouseWithin vs. ??? w/mouseText
Scott Rossi
scott at tactilemedia.com
Fri May 28 15:30:14 EDT 2004
Recently, "Klaus Major" wrote:
>> on mouseMove
>> get the mouseText
>> if the mouseText = "objects" then
>> show field "Objects"
>> end if
>> if the mouseText <=> "objects" then -- not equals sign
>> if the visible of field "Objects" is true then
>> set the visible of field "Objects" to false
>> end if
>> end if
>> end mouseMove
>
> you can save 8 lines, if you like ;-)
>
> on mouseMove
> set the visible of fld "Objects" to (the mousetext = "Objects")
> end mouemove
I considered this as well but I wondered if there is a potential performance
issue if this handler is constantly setting the vis of field "objects" to
false.
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com
More information about the use-livecode
mailing list