Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine TextBox width?
Message
From
21/09/2009 07:14:51
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
21/09/2009 07:04:25
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01425392
Message ID:
01425409
Views:
50
>It is possible - untested though - that form.TextWidth() and form.TextHeight() give a better result than the average fontsize. The only drawback is that you have to set the form's font attributes to match those of the textbox

Bit of ugly if you run through all textboxes to switch all those form stuff .... But if my method fail I will remember. ^_______^
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform