Within a border?

Doug Lerner doug at webcrossing.com
Wed Mar 24 18:40:57 EST 2004


I need to detect whether the cursor is within the border area of a control
(in this case, a field).

I believe I can do this by using "is within", then defining two rectangles -
one for the object (containing the border) and one for the object (inside
the border) and doing an appropriate test with both rectangles.

Unless Revolution has some more convenient syntax for testing for being
within a control's border. Does it, by any chance?

Any caveats worth mentioning?

Thanks,

doug



More information about the use-livecode mailing list