Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One more minute and I will beat my head on the table
Message
De
24/05/2006 19:44:38
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01124687
Message ID:
01124745
Vues:
14
This message has been marked as the solution to the initial question of the thread.
>>>It works in the sample form, but I can not make it to work in my form. Also I'm unable to make it work by resizing the mover in design-time and not using anything else.
>>
>>Anchors do not work at design time, only at runtime.
>
>I understand that. I put a Mover on the form. The class has Anchor property set to 0. I set it to 15 in the form. I made the height of my mover smaller than default. When I run the form, it doesn't display its objects correctly.

In trying to follow this thread, I think you're missing something very basic here. Setting the Anchor property on your mover class will only have an impact on the size/position of the mover if it's container is resized. If the container doesn't have it's anchor properties set, it's not resizing when the form resizes, therefore, you're object won't reposition or resize either.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform