|
jackwest Novice
Joined: 01 Jan 2009 Posts: 35
|
Posted: Thu Jan 15, 2009 10:42 am
is it possible to pull priority/position information out of a button? |
specifically, is it possible to pull either priority or button position out of a button via scripting?
essentially, i have a column of buttons. i want them to be multi-state, with 2 of the options being move button up and move button down, so their order can be changed. however this requires the script to know the current position of the button, and I dont know how to get this information out...
suggestions?
jack |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Thu Jan 15, 2009 4:29 pm |
You have two options...
You can use the #BUTTON with no arguments which will list all the buttons, their captions and commands and do a trigger base on the caption to get the priority of the one you want.
Alternatively you can use the Lua and the zs.button object to get the position or the common properties to get the priority. |
|
_________________ Asati di tempari! |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|