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!

Length of a string in a text box - Revisited

Status
Not open for further replies.

Thomas Filiman

Systems Engineer
Aug 9, 2018
1
US
thread184-1556776

Thought I would mention I had the exact same issue with the textbox control.
An elegant solution is just to simply substitute an editbox in place of the textbox.
Features are nearly identical and the Value and Text Properties (as well as any control sources will contain only the exact string typed or entered. No ghost padding. Leading and training spaces if any are as user entered.

Hope this helps someone like this site has helped me so many times.
Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top