Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dockable Forms
Message
From
28/09/2012 10:05:01
Scott Butts
Ims Specialty Services
Twin Falls, Idaho, United States
 
 
To
27/09/2012 22:07:35
Luis Navas
Independent Consultant
Auckland, New Zealand
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01553804
Message ID:
01553831
Views:
66
>>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
>
>I think you need to use 4 as first parameter, and then specify the window you want to dock it with as the second parameter.

Using 4 causes the two windows to be tab docked, basically one overlaying the other, with tabs at the bottom to allow switching. What I am trying to achieve is for each form to take half of the screen height and dock to the same "edge" of the screen. Thanks for the try.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform