Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with a class
Message
De
06/04/1997 00:39:06
 
 
À
06/04/1997 00:29:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00027172
Message ID:
00027173
Vues:
28
>I built a class which is given me a weird problem.
>
>During the Init() of the form, I change the Caption of a label property.
>
>ThisForm.MyLabel.Caption='Michel Fournier'
>
>Then I make sure the caption has been made.
>
>WAIT WINDOW ThisForm.MyLabel.Caption
>
>And, the system gives me the value I stored.
>
>Now, I need to know the width of that label, so I do this.
>
>WAIT WINDOW ThisForm.MyLabel.Width
>
>And, it gives me 24, which was the width before I changed it.
>
>I have other objects which rely on this width so everything is all mixed up because the width returned by the system is not correct.
>
>While the form is on the screen, if I show the width, it will be ok. The problem is only during the Init().
>
>Any idea?

Do you have AutoSize=.t. for that label?

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform