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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dynamically size text box

Status
Not open for further replies.

steever

MIS
Mar 25, 2003
43
CA
Hi,

I have set a lable in my title = to a parameter as selected by user. I need this label (txt box) to size horizontally depending on the length of the parameter selected by user.
I can do this using the "tight horizontal" property of a txt box, however the following txt box remains in its position regardless, so that the current box will leave lots of unnecessary white space if the parameter is short.
For eg., for the Title

"Sales for France include:"

France, is the parameter txt box that sizes dynamically, so when its a short name, like France, it leaves the space ... when the parameter is longer, its perfect (eg. United Kingdom).

...any ideas??

Steve
 
Place everything into the text box.

You didn't bother to state which portion was the parameter and which was text, but I'll assume that you mean that the "include" is static.

Place the parameter into the text box, after the parameter add in a space and then type include, it should format perfectly.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top