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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Wed Feb 02, 2011 7:59 pm   

Formatting I/O Dialogs
 
I'm just beginning to use I/O boxes like %yesno and I was wondering if there was a way to format the text in them? Currently I want some line breaks in the message so I don't have one massively long box that tries to fit everything on one line, but the usual EOL (\n) doesn't seem to force a line end. How might I go about doing that?
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Wed Feb 02, 2011 9:10 pm   
 
Try %cr or %crlf. You'd have to concatenate it into the string.
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Wed Feb 02, 2011 9:33 pm   
 
That works, but window elements (such as the Yes-No buttons) are not properly positioned below the new text. Guess I'll have to try and keep it short and sweet and convey the other info when the button is clicked.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Thu Feb 03, 2011 5:54 pm   
 
Nope, sorry, there isn't much control over them. That's what the "zApp Form support" item on the to-do list for a future version is all about: making more complex I/O forms. But no ETA on that.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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