lockLoc OR LockSize? (but not both)
zryip.theslug at gmail.com
Wed Feb 3 17:31:05 EST 2010
2010/2/3 <DunbarX at aol.com>:
> Is this so that one doesn't inadvertantly grab a handle and change the
> You can set a custom property and trap the resizecontrol message, I guess:
> The "lockrect" property might be something like "82,23"
> on resizecontrol
> set the width of me to item 1 of the lockRect of me
> set the height of me to item 2 of the lockrect of me
> end resizecontrol
> It won't actually lock the rect when dragging a handle, but at least
> restores it when you stop.
> I tried this with mouseMove, and sometimes it worked. But now I always get
> recursion timeouts.
If needed you can also change the size of your object with arrowkeys.
-Zryip TheSlug- wish you the best! 8)
More information about the Use-livecode