format Message Box

  • Thread starter Thread starter Doug Bell
  • Start date Start date
D

Doug Bell

Hi,
I have a message box that shows the User Qty Ordered, Qty Received, Balance,
Qty Accepted.

I have been trying to get it to format the quantities right aligned in a
column by looking at the lengths of the strings and padding them with
leading " " (spaces). but because the characters are different widths this
doesn't work.

Has anyone got any idea how I can do this with a messagebox or will I need
to build a special windows form?

Thanks

Doug
 
Hi I would make my own messagebox, a normal winform and then use it's
..showdialog method, then you can align everything the way you want it.

Greetz Peter
 
I've never tried this on this platform, but can't you just change the font
to fixed-width (e.g. Courier New) on this control?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top