Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design time re-size
Message
De
23/06/2009 15:18:13
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01406083
Message ID:
01407869
Vues:
51
This message has been marked as a message which has helped to the initial question of the thread.
>>>Hi David,
>>>
>>>I got the code working correctly by placing the code in the Init of the container. But now I'm facing another problem. When I re-size the form the inner controls do not want to resize properly. I tried using 45 for anchor settings of the container and calling code to adjust positions from Resize - this didn't work properly. Tried several other ideas - nothing worked so far.
>>>
>>>In other words, I only have a partial success now - the form starts with listboxes / buttons positioned correctly, but once I start playing with resize, it goes out of control.
>>>
>>
>>Get rid of the anchors and place all resizing code in Form.Resize event. It will work.
>
>Do you mean I need to call myMover.Resize from the form's Resize? I want to make self-resizing mover control without a need to extra call from form's methods.

Yes, I would just call it from Form.Resize.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform