Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stubborn Caption Placement !
Message
De
19/12/2015 11:12:17
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
18/12/2015 16:04:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01629113
Message ID:
01629133
Vues:
49
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform