Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Label.Width does not change
Message
De
26/03/2009 13:59:39
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01391666
Message ID:
01391677
Vues:
39
Thank you for your reply.

>>>>Hi all
>>>>
>>>>In form.Init if i change the caption of a label, but the width of the label remains the same
>>>>
>>>>
>>>>thisform.label1.caption = 'Label1'
>>>>nWidth1 = thisform.label1.Width
>>>>thisform.label1.AutoSize=.f.
>>>>thisform.label1.caption = 'A quick brown fox jumps over the lazy dog'
>>>>thisform.label1.AutoSize=.t.
>>>>nWidth2 = thisform.label1.Width
>>>>
>>>>?nWidth1=nWidth2 && .t.
>>>>
>>>>
>>>>
>>>>please guide
>>>
>>>
>>>What is the value of Anchor property?
>>
>>Label1.Anchor = 0 && Default
>
>I have no such problem here on my machine.
>Did you have any other resizing calss in that form?
>What is the value of MaxWidth?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform