Columns in a TextBox

C

Chuck

Colums can be simulated when printing to the screen or a printer by using a
*Tab(x)* statement before each variable.

Tab() is not allowed when writing to a TextBox.

Is there any way to line up data variables other that inserting spaces between
double quote marks? The first column can be anthing from 1 to 1000 and
everything after that is off set depending on the value of the first column.

1 123 543 999
10 123 543 999
100 123 543 999
1000 123 543 999

If 1 is changed to 0001 and 10 to 0010 and 100 to 0100 everything works out
reasonable well. It just looks awful. Can the number of spaces after the
first variable be set depending on the length of the first vatiable? I don't
think that VB likes if statements within a line of printed variables.

Chuck
--
 

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

Top