Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
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