General information
Category:
Forms & Form designer
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only