Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
My labels have a mind of their own
Message
 
 
À
27/08/2006 11:43:23
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01148417
Message ID:
01148920
Vues:
18
Dragan,

No I've not looked at it. The label can change it's caption at runtime and still maintain it's right alignment without any problems from what I've seen. Mike's problem is related to the initial instantiation obstacles that right alignment + autosize causes.

>David, have you tried Fabio's code? It's really weird - the label's .left has the same value each time the caption changes, but visually the label stays right aligned, and objtoclient() shows that its .left does change.
>
>IOW, with a .alignment=1 and .autosize=.t., the label stays right aligned, its position changes as needed to keep its right edge where it was, it's only the label's .left property that doesn't reflect its actual position. Weird, but it works.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform