News:

Welcome to our NEW forum! We invite you to sign up today
so it can grow to be a valuable resource to all Toolbox users!

Main Menu

Messageboxes and formatting

Started by oblivion, October 20, 2026, 09:21:18 PM

Previous topic - Next topic

oblivion

This might be a big ask, and it's entirely cosmetic so I wont be upset if it's too complicated or trivial to bother with!

In the context of my cheat sheet script tutorial, I found myself wishing I could format the message text a bit better.

A couple of possibilities occur to me: first, might it be possible to support tabs, so text that's not at the start of the line could be aligned?

Second, might it be possible to support colours?

So -- if I had both wishes granted, I could do something like

Data: Add [darkblue]name${tab}[darkred]header$

and my output would be prettified?



Paul (Lead Developer)

Colors (and rich text) aren't possible with the message boxes as Windows doesn't support that. :(

For tabs, you can press the Tab key when composing your text and they'll be tabbed in the shown message box:





Having said that, I have also just made the next version allow both {enter} and {tab} to be specified as part of the text for messages. So you will be able to do this for your Data or Strings if you choose to type them as one line:

Data: Add "one{tab}two{tab}three~{enter}~four{tab}{tab}five"