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
Advertisement