|
Vanir Newbie
Joined: 30 Sep 2006 Posts: 4
|
Posted: Sat Sep 30, 2006 7:27 pm
button size or position from variable value |
Hi.
I have a problem with creating button in position or size specified in variable
for example
#button {id} ... {autoPos} {@var1} {@var2}
in documentation if autopos is not null position is gotten from next two values, but when inserting there vars it doesnt work.
Also tried <@var1> and without {}
I have not registered version of zmud yet, is it the cause?
thanks for help |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat Sep 30, 2006 7:42 pm |
More likely those two values have to be literal numbers rather than variables. Nothing in ZMud or CMud (well, insofar as coded features go) is disabled for the trial period, so what you can do in the first 30 days is what you can do for the life of the program.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Vanir Newbie
Joined: 30 Sep 2006 Posts: 4
|
Posted: Sat Sep 30, 2006 8:15 pm |
So it is impossible to make buttons in variable size without making a special plugin for this? (what is not available in trial version ;) )
edit:
ok i've found sollution
make alias with parameter wchich makes button
for example:
alias test
alias body: #button {id} ... {autoSize} {%1} {%2}
test <@var1> <@var2> from command line
makes button in desired size
thanks for help |
|
|
|
|
|