>>The reason it doesn't allign correctly is because MessageBox() uses a proportional font - not all letters have the same width, but rather, each letter uses only the space required.
>
>Quick response, Hilmar! But look at the "PadWidth" function, it checks the TXTWIDTH of each character in the string and the pad character, which was supposed to take care of proportional fonts. It doesn't. Why?
Are you sure, that Messagebox uses wfont()?
Take a look in Downloads section for my Statistics form
Form, which is convenient for showing messages File #
9684. It's a nice simple form that also allows printing. You can also resize it.
If it's not broken, fix it until it is.
My Blog