Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dockable Forms
Message
 
To
27/09/2012 22:00:21
Scott Butts
Ims Specialty Services
Twin Falls, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01553804
Message ID:
01553806
Views:
49
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform