mouseWithin vs. ??? w/mouseText

Klaus Major klaus at major-k.de
Fri May 28 05:15:03 EDT 2004


Hi Judy,

> Hi Klaus,
>
> Thanks... I think I figured out an alternate solution, but at the field
> level as you suggested:
>
> 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

> Judy

Regads

Klaus Major
klaus at major-k.de
www.major-k.de



More information about the use-livecode mailing list