Whats the proper way to show a help field?

Alejandro Tejada capellan2000 at gmail.com
Tue Nov 18 20:58:27 EST 2014


Hi William,

Still not well from Cold, but here is
a very simple method:

Create a small field named "cursorpos"

Create an opaque rectangle graphic
and put this script in the graphic:

on mousemove x,y
   set the layer of fld cursorpos to the layer of me + 1
   put x,y into fld cursorpos
   set the topleft of fld cursorpos to x+20,y
end mousemove

on mouseleave
   hide fld cursorpos
end mouseleave

on mouseenter
   show fld cursorpos
end mouseenter

Please, use contrasting colors for the background
of the graphic and the small field.

Al



More information about the use-livecode mailing list