Page 1 of 1

Dynamically resize a button

Posted: Wed Apr 11, 2007 12:59 am
by petero
Is it possible to allow a user who is running a finished stack to make the size of a button smaller or larger. Preferably by first holding down a modifier key.

The objective is for a caregiver to be able to resize buttons in an application for multiply diabled children who are now making on screen button selections by controlling the cursor with their eyes. Different kids have different control capabilities and thus the caregiver may have to make a button larger.

Posted: Thu Apr 12, 2007 5:22 am
by BvG
Yes it is possible:
height
width
rectangle
left
top
right
bottom
topleft
topright
bottomright
bottomleft


As well as:
mouseDown theMouseButton
mouseUp theMouseButton
commandKey
altKey
shiftkey
keysDown


Additional not so relevant stuff:
grab
drag
click
move
commandkeyDown
optionKeyDown
commandKeyDown
shiftKeyDown
keyDown theKey
keyUp theKey
ArrowKey theKey