Ui - messagebox definition
-
hi,
i cannot find anywhere a solution for making a simple
ui-messagebox with more lines (like a small table)i have
submenu.add_separator submenu.add_separator submenu.add_item("7 support / credits / info"){ UI.messagebox "1.xxxxxxxxx"but showing
1.xxxxxxxxx
2.xxxxxxxxx
3.xxxxxxxxxand a simpleok-button.
is there a way? in the ruby api they speak about a multiline msgbox, but without showing asyntax.
thanx a lot.
stan -
You can insert a newline using \n
txt = "This is line one.\nThis is line two" UI.messagebox(txt) -
hi jim,
thank you so much. it works. again a step closer to my ruby.
stan
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement