Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stubborn Caption Placement !
Message
From
19/12/2015 11:12:17
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
18/12/2015 16:04:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01629113
Message ID:
01629133
Views:
48
>I had the same problem as you -- seems the length does not get updated when the caption is changed. Even if the autosize property is set to true. You can use the form's TextWidth() method to return the length; just ensure the form's fontsize, fontname properties are the same as the label.

Or use the label's s fontsize, fontname properties as the parameters to the function of the same name. Actually it's txtWidth(), not quite same.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform