Combining text from different text boxes

  • Thread starter Thread starter the nitewolf
  • Start date Start date
T

the nitewolf

Not having much luck with this one.... I have multiple
textboxes that I want to concntenate, but with a "Tab" so
things are equally spaced. I have an app with two tabs,
one is an input form with multiple textboxes, the other is
a preview with a richtext box to show how it will look
before saving it, I need to put the textbox values and
some other predetermined values in and would like to make
it uniform...Any suggestions would be greatly appreciated.

e.g.
text1 text3 standard variable
text4 text5 standard variable
and so on....
 
* "the nitewolf said:
Not having much luck with this one.... I have multiple
textboxes that I want to concntenate, but with a "Tab" so
things are equally spaced. I have an app with two tabs,
one is an input form with multiple textboxes, the other is
a preview with a richtext box to show how it will look
before saving it, I need to put the textbox values and
some other predetermined values in and would like to make
it uniform...Any suggestions would be greatly appreciated.

e.g.
text1 text3 standard variable
text4 text5 standard variable

Use the '&' operator to concatenate strings. If you are performing a
lot of concatenations, consider using a 'StringBuilder' instead. You
can use 'vbTab' or 'ControlChars.Tab' to insert a tab character into the
string.
 
Back
Top