On Jul 24, 2004, at 5:00 PM, [EMAIL PROTECTED] wrote:
From: Mark Talluto <[EMAIL PROTECTED]> Subject: Re: Code for Scrolling the objects in a card To: How to use Revolution <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; format=flowed
...
What you can't do with the current implementation of groups is put your mouse over the scrolling group and draw a circle. You can have a button (as in a toolbar) past a circle in the group and have the user then move and size it. But they can not drag a circle interactively in a group from scratch.
This applies to every other object as well.
-- Best regards, Mark Talluto http://www.canelasoftware.com
It seems like this would do what you want:
1) Make sure the group is pre-populated with a hidden version of every control type. One circle, one line, one checkbox, etc. (whatever controls you want).
2) On mouseDown, have a group handler which positions and sizes the hidden control to the mouse location, and then sets it visible.
3) Resize and position the control in real-time in a mouseMove handler.
4) On mouseUp, copy the control, and then re-hide the original.
Wouldn't that do what you want?
-- Frank
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
