469,924 Members | 1,361 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,924 developers. It's quick & easy.

Splitter Control and Dock

I have been trying all evening to add two panels to a form with a horizontal
splitter in middle. How can I do this. I have one panel docked to top and
one docked to bottom. I have tried all of the docking options for the
splitter but can't seem to get it in the middle.
--
Dennis in Houston
Nov 21 '05 #1
3 1553
Add panel 1 - dock = top

Add splitter - dock = top

Add panel 2 - dock = fill

and voila.
"Dennis" <De****@discussions.microsoft.com> wrote in message
news:21**********************************@microsof t.com...
I have been trying all evening to add two panels to a form with a
horizontal
splitter in middle. How can I do this. I have one panel docked to top and
one docked to bottom. I have tried all of the docking options for the
splitter but can't seem to get it in the middle.
--
Dennis in Houston

Nov 21 '05 #2
and if it does not do what you want from there, try to bring to front on
each one to get the result you want, because the splitter relies on the
Z-Order of the objects, the order from back to front should be panel1,
splitter, planel2

hope it helps

"Stephany Young" <noone@localhost> a écrit dans le message de
news:OI**************@TK2MSFTNGP12.phx.gbl...
Add panel 1 - dock = top

Add splitter - dock = top

Add panel 2 - dock = fill

and voila.
"Dennis" <De****@discussions.microsoft.com> wrote in message
news:21**********************************@microsof t.com...
I have been trying all evening to add two panels to a form with a
horizontal
splitter in middle. How can I do this. I have one panel docked to top and one docked to bottom. I have tried all of the docking options for the
splitter but can't seem to get it in the middle.
--
Dennis in Houston


Nov 21 '05 #3
Thanks..it works great!
--
Dennis in Houston
"ThunderMusic" wrote:
and if it does not do what you want from there, try to bring to front on
each one to get the result you want, because the splitter relies on the
Z-Order of the objects, the order from back to front should be panel1,
splitter, planel2

hope it helps

"Stephany Young" <noone@localhost> a écrit dans le message de
news:OI**************@TK2MSFTNGP12.phx.gbl...
Add panel 1 - dock = top

Add splitter - dock = top

Add panel 2 - dock = fill

and voila.
"Dennis" <De****@discussions.microsoft.com> wrote in message
news:21**********************************@microsof t.com...
I have been trying all evening to add two panels to a form with a
horizontal
splitter in middle. How can I do this. I have one panel docked to top and one docked to bottom. I have tried all of the docking options for the
splitter but can't seem to get it in the middle.
--
Dennis in Houston



Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by John | last post: by
2 posts views Thread by Richard | last post: by
2 posts views Thread by Hrcko | last post: by
6 posts views Thread by magmo | last post: by
2 posts views Thread by Istvan | last post: by
8 posts views Thread by Mr. X. | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.