is it Possible?

G

Guest

Hi,
I want to MDI forms, with a Tree View control. I also want to use a
splitter and also a menu bar, toolbar and status bar. Everything works fine,
with the exception, that the toolbar and startus bar only streach across from
the treeview and the right edge of the app. I'd like to be able to put the
toolbar(above) and the splitter(below) the treeview control. And at the same
time be able to use the &Window to see what other forms are open. That is
how I am using this. I have in the treeview, a tree, of form names. When
the user clicks them, open in the mdiChild. Any help or idea on what I am
trying to do here?
And as you can tell by my previous posts, I am just beginning the vb.net
world.
Thanks,
Brian
 
C

CMM

Experiment with Zorder of the (docked) controls... right-click "Bring To
Front / Send To Back." ZOrder is what the form uses to layout docked
controls on the form relative to each other. This is how you fix "weird"
looking layouts like when the status bar doesn't seem to want to fill the
width of the form because of an adjacent control (StatusBar docked to the
bottom, Tree docked on the side).

This works well, but is a bit unintuitive once you start using splitters
(which also are layed out using Send To Back / Bring To Front" and act
"magically" upon controls on either side of it.

Personally, I don't like to put controls directly on an MDI Form... but
instead I put Panels on it, dock them to a particular side, and then put the
controls I want in the Panels. Panels are "containers" for multiple
controls.

Experimentation is key.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top