control resize on runtime

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
emmefisch
Posts: 27
Joined: Thu Jul 23, 2009 2:50 am

control resize on runtime

Post by emmefisch » Sun Aug 16, 2009 2:02 am

How can I resize a control on runtime? The user should be able to place a control on an image to define a clickable aera.

Thanks.

emmefisch (a newbie ;-))

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10045
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Post by FourthWorld » Sun Aug 16, 2009 7:14 am

Objects have the following properties you can set:

width
height
rectangle
location
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Post by shadowslash » Sun Aug 16, 2009 7:41 am

You can put this simple script on any handler that you want

Code: Select all

choose "pointer tool"
Parañaque, Philippines
Image
Image

emmefisch
Posts: 27
Joined: Thu Jul 23, 2009 2:50 am

Post by emmefisch » Sun Aug 16, 2009 8:47 am

Thanky you!

Post Reply