Easy resizing graphics - like in the IDE

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ewi
Posts: 1
Joined: Tue Oct 14, 2008 1:38 pm

Easy resizing graphics - like in the IDE

Post by ewi » Tue Oct 14, 2008 1:45 pm

Greetings,

I looked into the doc and I have found the property dontResize. But in the IDE, I have the 4 small squares in the corner and in the middle of each line. In the run mode, I don't have access to these small squares. Obviously, these small squares mouse-drag type methods associated with.

My question: How can I make use of these inherent features? How can I display the squares and have access to the drag-mouse feature to resize the graphics (or more generically the object)?

The IDE seems to be written in revolution -- as well as the objects. It looks like that there are IDE-specific features of objects are suppressed and inaccessible in the run-mode.

Best

ewi

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Tue Oct 14, 2008 2:36 pm

Hi Ewi,

Make a palette with a browse tool and a pointer tool button. When the pointer tool is active, you can select and change objects. Make sure to set the cantSelect of objects that are part of your interface to true.

There is also the editMode property. You might want to check that out.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply