Detect Text Box Overflow

TastyWheat

Registered User.
Local time
Today, 15:28
Joined
Dec 14, 2005
Messages
125
Is it possible? And by overflow I mean text that isn't being shown because the text box is too small.
 
I doubt it. The visual text length will vary based on the characters keyed and if upper or lower case is used for each letter. What are you trying to do?
 
Trying to make code to auto-format a report. Actually what I need to resize most of all are labels. Using the wizard they never fit right off the bat. The text boxes containing variable data are smaller and usually don't need resizing.
 
Do you know SizeToFit Method?

DoCmd.OpenForm "Form1", acDesign
Forms("Form1").Label1.SizeToFit
 

Users who are viewing this thread

Back
Top Bottom