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         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to