rectangle of 0,0,0,0 ok?

Doug Lerner doug at webcrossing.com
Sun Jan 18 18:49:00 EST 2004


On 1/19/04 1:05 AM, "Scott Rossi" <scott at tactilemedia.com> wrote:

>> Those don't truly *hide* the field, in the sense that if you check to see if
>> the mouse is in the region of the field it still turns out to be true, even
>> if the field is not visible.
> 
> How are you testing the mouse?  When I use the following script and the
> field is hidden, the result is consistently false:
> 
> put within(fld myField,the mouseLoc)

if exists(field "canvas") and the mouseLoc is within the rectangle of field
"canvas" then

This shows true whether or not the field is hidden.

doug




More information about the use-livecode mailing list