Image Cropping Tool for Livecode

J. Landman Gay jacque at
Mon Dec 5 11:29:49 EST 2011

On 12/5/11 7:51 AM, Richard Gaskin wrote:
> Jacque wrote:
>> On 12/4/11 8:09 PM, Sivakatirswami wrote:
>>> As anyone created a image cropping tool for LiveCode?
>> If you hold down the command key while resizing an image, it gets
>> cropped to the new size. There's no warning, it just happens.
> That's a frightening way to have users accidentally lose data.
> Is there a property to turn that off, or can we trap for commandKeyDown
> on mouseDown to override it?

It's in the engine, it isn't a property, but it's been there for three 
or four years and I think if it were an issue we'd have heard by now. 
It's largely a developer thing, and very convenient. As others said, if 
your app doesn't use the pointer tool then it's a non-issue. I suppose 
you could trap mousemove and check if the command key is down and tool 
is the pointer tool to avoid the problem.

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the Use-livecode mailing list