 |
technomage Beginner
Joined: 18 Jul 2002 Posts: 13
|
Posted: Wed Mar 12, 2003 7:18 pm
button question |
ok i created a button
i want that it wount be useable(text is grey and if i press it wont do anything) until a trigger enables it
is it possible? |
|
|
 |
megamog75 Enchanter

Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Wed Mar 12, 2003 7:52 pm |
Yes there are two ways that I know of read the help files for
off and on that might help
the you counld set up up the button with a @var like this @doit;#var doit ""
the "" is to clear out the @var so the next time you hit the button it will do nothing again
the trigger would look something like this:
#trigger {something happens} {#var doit do something}
this combanation is just one way I am sure if you get creative you will find others.
megamog75
Keeper of the only printable help files for Zmud. |
|
|
 |
TonDiening GURU

Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Wed Mar 12, 2003 8:08 pm |
#BUTTON 99 {Test @NoTest} {#IF (@NoTest) {#ECHO Works;#VARIABLE NoTest 0} {#ECHO Disabled}} {} {} {} {} {} {} {} {} {} {} {} {112} {} {} {} "" {} {} {test}
#TRIGGER {Something happen to allow me to reactivate the button} {#VARIABLE NoTest 1}
Ton Diening |
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5182
|
Posted: Wed Mar 12, 2003 10:43 pm |
TonDiening's method is the best currently. In the next public version there will be a button enable function that will do exactly what you want. If you are brave the function already exists in the current beta version.
|
|
|
 |
technomage Beginner
Joined: 18 Jul 2002 Posts: 13
|
Posted: Thu Mar 13, 2003 12:16 pm |
hmm ok i will use ton's solution
i am don't trust betas, hei i even don't trust fresh public releases of software
when will be the new public version of zmud be avalable? |
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Thu Mar 13, 2003 12:21 pm |
Should be a few weeks now at most.
Kjata |
|
|
 |
|
|