Grabbing groups

Rob Cozens rcozens at pon.net
Wed May 14 10:15:01 EDT 2003


>What I need is a script that will grab and move the group whenever 
>the mouse is down *within the figure* not just on one of the 
>perimeter lines. A little help please.

Hi Jim,

If the "non lens" portion of the figure is transparent, try making it opaque.

If that doesn't work or doesn't fit your design, place a button or 
other control behind the figure with the handler:

on mouseUp
   send mouseUp to image "My Figure Name"
end mouseUp

or just set the icon of the button to the id of your figure.

Hope that helps.
-- 

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)



More information about the use-livecode mailing list