Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / April 2005

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
how to set the textbox to split into two - 25 Apr 2005 10:28 GMT
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.
MatsonPP - 25 Apr 2005 13:50 GMT
In the display properties of the text box, just turn on word wrapping
and tell it to resize the textbox when it needs to.
alan chow - 26 Apr 2005 08:14 GMT
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.

> In the display properties of the text box, just turn on word wrapping
> and tell it to resize the textbox when it needs to.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.