Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anchor and restoring state
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Anchor and restoring state
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
00980802
Message ID:
00980802
Vues:
100
We finnaly got VFP 9 here in our office. I was fooling around with the achor property and find it very useful. However we have a small issue. We have a custom written class that saves the form size and position in the registry when the form is closed, and restores that size and position when the form is loaded. But now, when form is enlarged or shrunk based on what its size was last time the form controls are not automaticly resized to what they should be based on the size of the form. Is there anyway around this?

This state restorer class is just a custom class that gets dropped on a form. In it's init code, it grabs the form name, reads values from the system registry and sets the size of the form and stuff.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform