Blocking resize
Mark Schonewille
m.schonewille at economy-x-talk.com
Mon Feb 18 08:10:38 EST 2008
Hi Sakari Ruoho,
I believe you have to emulate your own pointer tool. Create tiny
buttons and place them at the corners of the object you want to
change. Allow the user to drag these buttons and change the size of
the object while the buttons are dragged.
Why do you want to do this?
Best regards,
Mark Schonewille
--
Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Convert colours between different colour spaces with Color Converter.
Download at http://economy-x-talk.com/cc.html
Op 18-feb-2008, om 14:04 heeft Sakari Ruoho het volgende geschreven:
> Hiya Mark,
>
> I should learn to state my problem better.. sorry for that.
>
> The basic idea is that I want the user to be able to use the
> pointer tool where some objects can be resized and some can't. The
> objects which cannot be resizen are groups with objects in them. I
> call them components.
>
> As I understand, while the pointer tool is chosen, the revolution
> don't send mouseDown messages, correct?
>
> Now the grab command would do this for me, but then I would have to
> change the tool to browser and keep the pointer cursor in order to
> 'cheat' the user thinking that the tool is not changing. Maybe this
> is the only way to achieve this, but this is why I'm asking.
> Playing with cursors and tools gets the code much more messy, so I
> want to avoid this if possible.
>
> Maybe the problem is not a programming problem, but application
> design one. Still lots to learn from Revolution I reckon :D
>
>
> Sakari Ruoho
>
More information about the use-livecode
mailing list