rectangle of 0,0,0,0 ok?

T. R. Ponn alptex2 at orwell.net
Sun Jan 18 15:14:50 EST 2004



Scott Rossi wrote:

>On 1/18/04 2:08 AM, "Doug Lerner" <doug at webcrossing.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)
>
>Regards,
>
>Scott Rossi
>
I think the difference is that he's using:

  if the mouseLoc is within the rect of fld "Whatever" then.....

instead of:

  if within(field "Whatever",the mouseLoc) then.....

That's my 2 cents

Best Regards,

Tim Ponn


More information about the use-livecode mailing list