highlight and hide field from standalone
Klaus Major
klaus at major-k.de
Fri Sep 16 08:15:56 EDT 2005
Hi Bob,
> Hi Klaus
>
> This works by hiding the field so all I need to do is create a
> button to show
> all controls and modify the script slightly. IE have the graphic
> borderhilite
> hidden and show it on right click. I can now select the field using a
> mouseenter
>
> on mousewithin whichone
> global field2delete
> if whichone = 3 then
> set the rect of grc "borderhilite" to the rect of fld "xyz"
> set the loc of grc "borderhilite" to the loc of fld "xyz"
> put "xyz" into field2delete
> show grc "borderhilite"
> end if
> end mousewithin
>
> That should keep me going at the airport. :-)
But this will not work, since "mousewithin" does not accept an
argument -> "whichone"
like "mouseup", where "whichone" will hold the mousebutton pressed!
1 = normal/left click
2 = middle click
3 = right-click
> Cheers
> Bob
Best
Klaus Major
klaus at major-k.de
http://www.major-k.de
More information about the use-livecode
mailing list