how to set the textbox to split into two lines when meet right mar

  • Thread starter how to set the textbox to split into two
  • Start date
H

how to set the textbox to split into two

Hi,
I have the problem on making the a textbox to split into two lines when it
meet right margin. For example, I have the following design

His name is ___<textbox>____.

And, if I enter "Alan Chow" in textbox, the following result will be output.

His name is __Alan Chow___.

That fine, but when the name is very long, says, AAAAAAAAAAAAAAAAAAA
BBBBBBBBBBBBBBBB. I would like to have the following result

His name is ___AAAAAAAAAAAAAAAAAAA
BBBBBBBBBBBBBBBB___.

That is, the text box split into two lines. But what I got now is:

His name is
__AAAAAAAAAAAAAAAAAAA BBBBB...

Because, the text box cannot split into two lines and the word
"BBBBBBBBBBBBBBBB" is trimmed.

Do you have any suggestion?

Thx in advance.

Alan.
 
M

MatsonPP

In the display properties of the text box, just turn on word wrapping
and tell it to resize the textbox when it needs to.
 
A

alan chow

Well, this solution will not work if user enter words more than 1 lines, and
the text box will not split into two. It just expands vertically and result
will like:

xxxxx xx x x x x xxxx x x x x xx x
[text box contents text box contents text box contents text box
contents text box contents]
xxxxx xxxx xx xxxx xxxxxxxxxx xxxxxxx xxxxxx xxxxxxx xxxxxx xxxxx xx
xxxx xxxx xxxxxxx xxxxx.

You can see, after the text box, a large amount of space is produced and
paragraph is not continue.
 
Top