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

Count Character in Control Text

Status
Not open for further replies.

epoirier

Programmer
Feb 22, 2002
37
0
0
CA
Hi,

I Build Label report, in the label i have many information. I can't grow any controls i must to change the size of some controls if the information containt over 36 characters. The problem is, i use the Font Time New Roman 14 Bold, each character exemple A is not the some size lettre Q or dot, etc. I want to know if exist some API can retreive the information of each characters ? space, size, etc. or i must build a function to check each characters and give a approximative space used.

Suggestion is appreciated

Thanks,

Eric Poirier
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top