Article 5HFVX OpenOffice Basic: MsgBox using two columns of text

OpenOffice Basic: MsgBox using two columns of text

by
w1k0
from LinuxQuestions.org on (#5HFVX)
I wrote a macro set for Apache OpenOffice and LibreOffice. Now I am trying to include a message box with a concise help on my macros. The fragment of the current code looks like this:

Code:Sub help
Dim Help as String
Help = Help & " [Ctrl]+[Shift]+[O] encode_soft_Or_hard_spaces " & chr(13)
Help = Help & " [Ctrl]+[Shift]+[H] big_case_cHanger" & chr(13)
Help = Help & " [Ctrl]+[Shift]+[A] remove_tAbulators" & chr(13)
Help = Help & " [Ctrl]+[Shift]+[X] eXchange_double_spaces" & chr(13)
Help = Help & " [Ctrl]+[Shift]+[Z] killparZ" & chr(13) & chr(13)
Help = Help & " [Ctrl]+[Shift]+[Insert] temp" & chr(13)
Help = Help & " [Ctrl]+[Shift]+[PgUp] help" & chr(13) & chr(13)
MsgBox Help, 0, "AOO-macro-4.1 "
End SubThe message box looks like this:

Attachment 36312

The problem is that I formatted the text displayed in proportional font using spaces. As a result, the macro names in the right column are not aligned. I tried hard to find a solution by searching the Internet and various manuals on OpenOffice Basic, but to no avail.

Can I display two columns of text in the message box and align the right column?
Attached Thumbnailsattachment.php?attachmentid=36312&stc=1& latest?d=yIl2AUoC8zA latest?i=7yDX3DHbKfg:JXBH4PmG8MM:F7zBnMy latest?i=7yDX3DHbKfg:JXBH4PmG8MM:V_sGLiP latest?d=qj6IDK7rITs latest?i=7yDX3DHbKfg:JXBH4PmG8MM:gIN9vFw7yDX3DHbKfg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments