On 4/5/05 12:51 PM, "David Burgun" <[EMAIL PROTECTED]> wrote:
Hi,
On a card I have a Rectangle Object called "BoundingRect". This object has a script attached to it that contains the following handlers:
mouseEnter, mouseLeave, mouseDown, mouseStillDown and mouseUp to track the position of the mouse and allow the user to draw rectangles, e.g. when the user mouseDown's and then moves the mouse, a rectangle graphic is created and resized until the mouse is released. This works just fine.
Now I would like to be able to select a rectangle that has already been created and allow the user to modify it's size. In fact what I would like is the exact same functionality as the RunRev IDE provides, e.g. when the user clicks in the rect I'd like the grow boxes to appear and allow the user to resize the box.
Is there any easy way to get this functionality into my stack?
Dave, is there any reason you're not using the built in functionality of Rev
On big reason, I don't know how to do it?
- i.e. to set the tool to the rectangle tool and then after they finish drawing to switch to the pointer tool?
Not sure what you mean? Exactly what code do I use and which handler do I use? Oh and which object should I attach the script to?
Thanks in Advance Dave
_______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution
