Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

making a text box grow 1

Status
Not open for further replies.

cristle

Technical User
Jun 5, 2003
26
DE
Hi

I have two text boxes, aligned side by side and have placed a field in each text box

If there are more than two lines in text box a, I would like to make text box b (already aligned to text box a)
grow to the same number of lines.

In other words I want both text boxes to be the same height.

Any help would be appreciated

 
You can use Length(field) to check the length of the contents of text box a. Have an extra formual field that shows a load of spaces when text box b needs it. (You might need to check both fields, to see if text box b would be on two lines anyway.)

You can also force a line skip from a formual field, using CHR(13).

[yinyang] Madawc Williams (East Anglia, UK) [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top