Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Label doesn't move to correct position
Message
 
 
À
25/02/2010 12:52:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01450840
Message ID:
01451013
Vues:
47
>>Hi Tamar.
>>
>>>It works, sort of. Most of the time, when I test, any two-digit labels (there's nothing more than 2 digits) start out to the left of where they should be and when the form repaints (which happens based on other things going on in the app), shift to the right into the right position.
>>
>>I've seen this before when the control has Anchor set to a non-zero value. When you move or resize the control in that case, you're fighting against anchoring. Try setting Anchor to 0, change Left, then restore Anchor.
>>
>
>Darn, I knew that (and have code all over this app that fixes it where I need to move things around). Can't believe I didn't check. I'm pretty sure that's it.
>
>Tamar

Worked for me in the similar scenario. I also knew this before and forgot.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform