Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
>>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement