Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
My labels have a mind of their own
Message
De
26/08/2006 13:15:19
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
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:
01148834
Vues:
18
This is what I've discovered. So, is this a "bug"? I'd expect that if I Autosize a right aligned label, that when the caption changes, it should simply grow to the left keeping the right side anchored!



>Mike,
>
>Autosize + right aligned just plain won't work when you conside that VFP has a .Left property and not a .Right.
>
>Set .Autosize = .f., .Alignment = 1, make all your labels the same .Width like 100 (ie the available space alotted for the labels on the form), use the alignment tool to align the right edges of all your labels.
>
>>I suppose I could jump thru these hoops to dynamically calculate the width of my labels, but, gosh darn it, it should just work by setting the properties! BTW, I'm talking about labels and not textboxes.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform