Allow user to resize only specific controls?

Ken Ray kray at sonsothunder.com
Thu Sep 16 17:24:52 EDT 2004


On 9/15/04 4:21 PM, "Frank D. Engel, Jr." <fde101 at fjrhome.net> wrote:

> I am trying to set up a program in which the user will be able to move
> and resize some of the controls on a stack, but only within certain
> limitations.
> 
> I have figured out how to put selection handles on controls, but how do
> I enable the user to resize a control by dragging the handles?
> 
> I hesitate to allow escape from the browse tool, because I don't want
> the user to be able to start moving or resizing some of the other
> controls, or bypassing the rest of my program logic; is this a valid
> concern?

Well, you could use the pointer tool and then set the cantSelect of the
different objects you don't want affected to 'true'.

Would that work for you?

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list