Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
mj_cole
Wanderer


Joined: 19 Apr 2001
Posts: 59
Location: USA

PostPosted: Tue Jul 22, 2003 1:02 pm   

Fancy yesno window
 
Is it possible to have multi-lines of buttons in a yesno window?

Regards
Marts
Reply with quote
DeathShadow
Adept


Joined: 11 Nov 2000
Posts: 228
Location: USA

PostPosted: Tue Jul 22, 2003 6:15 pm   
 
Not sure of your meaning of Multi-lines of buttons, but you can have more then just yes and no.
For example:
#YESNO {p:YesNo Example} {Button1:#echo cmd1} {Button2:#echo cmd2} {Button3:#echo cmd3} {Button4:#echo cmd4} {Button5:#echo cmd5}

That would create a Button Dialog of 5 buttons.
Reply with quote
mj_cole
Wanderer


Joined: 19 Apr 2001
Posts: 59
Location: USA

PostPosted: Tue Jul 22, 2003 7:08 pm   
 
Yeah got multipule buttons, but what I wanted to do was get say 12 buttons, in two rows of 6 etc.

Regards
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Jul 22, 2003 10:35 pm   
 
Nope, not possible. The buttons stay on one line and the yesno window only widens to a certain length (if it's not an arbitrary number then it's something like the prompt length plus a little extra)
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Tue Jul 22, 2003 10:39 pm   
 
Do you mean that you want so that it organizes the buttons for you?
or just give you 12 buttons?

yesno probably can not be configured to give you in an exact order per say but you could make it so what it does give you is the way you want the button order to be in, do you understand?
Reply with quote
mj_cole
Wanderer


Joined: 19 Apr 2001
Posts: 59
Location: USA

PostPosted: Tue Jul 22, 2003 10:40 pm   
 
OK, hmm, is there a way to force a #pick to allow only one item to be selected ?

Regards
Marts
Reply with quote
DeathShadow
Adept


Joined: 11 Nov 2000
Posts: 228
Location: USA

PostPosted: Tue Jul 22, 2003 11:22 pm   
 
sure..

#PICK VARIABLE {p:prompt} {o:1} {*value1:command}
NOTE: The * means that item is the Default Selected

See Also: http://www.zuggsoft.com/zmud/help6/PICK.htm
Reply with quote
mj_cole
Wanderer


Joined: 19 Apr 2001
Posts: 59
Location: USA

PostPosted: Wed Jul 23, 2003 1:58 am   
 
Perfect, that does what I wanted.

Regards
Marts
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net