Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stubborn Caption Placement !
Message
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:
01630069
Vues:
80
This message has been marked as a message which has helped to the initial question of the thread.
Hi!

I've had the same Problem.
You have to set the autosize = .t. property to .f. before you get the real width from the Label.
lblCaption.AutoSize=.t.
lblCaption.Caption = alltrim(m.lcCaption)
lblCaption.AutoSize=.f.
lnControlWidth = lblCaption.Width 
		
Jörg Schneider
Joerg.Schneider@SMARTCRM.de
SMARTCRM CRM powered by MS Visual FoxPro
SMARTCRM GmbH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform