mouseWithin vs. ??? w/mouseText

Judy Perry jperryl at ecs.fullerton.edu
Thu May 27 17:26:05 EDT 2004


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

Judy

On Thu, 27 May 2004, Klaus Major wrote:

> Use a "mousemove" handler in that field...
>
> First check the textstyle of "the mousechunk" (NOT tested, right out of
> my head :-)
> and then "the mousetext"...
>
> Or something like this ;-)
>



More information about the use-livecode mailing list