Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stubborn Caption Placement !
Message
De
22/01/2016 08:11:19
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
22/01/2016 07:26:26
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:
01630072
Vues:
83
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 
>		
>
I'd put the first three lines in caption_assign of the label... then this would happen invisibly.

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