Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dockable Forms
Message
 
À
27/09/2012 22:00:21
Scott Butts
Ims Specialty Services
Twin Falls, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01553804
Message ID:
01553806
Vues:
48
>I have a pair of dockable forms. Using the mouse, I am able to dock both forms on the same side of the screen, one on top of the other. Is there a way to programatically dock both forms in the same position. All I can find is the Dock method, calling the dock method of each form with 1 causes the forms to dock NEXT to each other NOT stacked. What I am attempting to do is to restore how the user has configured the forms when they are relaunched between sessions. Any ideas?
>
>Thanks

Don't know if this will help...but
What I've done in the past is create a table that stores the form's properties top, left, height, and width.for each user - then in the init() event of each form check the table and set the properties accordingly. In the release() method of the form I store those. Sounds like a huge pain in the a__ but it's not that difficult - I created a classlib to do it all.
ICQ 10556 (ya), 254117
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform