Rectangle Problem

thierry douez at wanadoo.fr
Wed Apr 6 05:38:21 EDT 2005


Hi,

Are you aware of this rev function ( not command ) INTERSECT !

which returns true if 2 Rev objects overlap, false otherwise.

if intersect( btn x, field y) then ....

HTH,

>>Given I have a "BoundingRect" and "UserRect", how can I check that 
>>"UserRect" is inside "BoundingRect"? If it overlaps I want to either 
>>clip the rectangle or stop it from moving outside of the BoundingRect 
>>in the first place.

Best regards, 
thierry




More information about the use-livecode mailing list