Graphic object resizing?
Posted: Sun Jun 21, 2009 3:08 am
Hi,
I am a rev newbie; but thanks to the generous members of the rev community I am making slow, but steady progress on my "learning project" -- a simple drawing app.
So far I have a simple palette of tools and a canvas where I can add objects of several shapes, select them and drag them around.
I have accomplished that using two simple message handlers that are added at object creation as follows:
set the script of the templateGraphic to
"on mouseWithin" & CR & " select me" & CR & "end mouseWithin" & CR &
"on mouseDown" & CR & " grab me" & CR & "end mouseDown"
Here is the problem:
When I select an object, the resize handles are shown; however, when I click and drag any of them, the object simply moves -- no resizing occurs.
I have searched the dictionary and the forums for object properties or other pointers on how to enable object resizing, but I am coming up blank. Any pointers are appreciated. Thanks,
Dondi.
I am a rev newbie; but thanks to the generous members of the rev community I am making slow, but steady progress on my "learning project" -- a simple drawing app.
So far I have a simple palette of tools and a canvas where I can add objects of several shapes, select them and drag them around.
I have accomplished that using two simple message handlers that are added at object creation as follows:
set the script of the templateGraphic to
"on mouseWithin" & CR & " select me" & CR & "end mouseWithin" & CR &
"on mouseDown" & CR & " grab me" & CR & "end mouseDown"
Here is the problem:
When I select an object, the resize handles are shown; however, when I click and drag any of them, the object simply moves -- no resizing occurs.
I have searched the dictionary and the forums for object properties or other pointers on how to enable object resizing, but I am coming up blank. Any pointers are appreciated. Thanks,
Dondi.