Docking a window
-
Hi All, I'm having trouble docking a window which should automatically fixed to the top, right and left edges of a one half of a SplitContainer when it opens. The child window should open when I click an option from a TreeView that I'm having in the other part of the SplitContainer. Thanx in advance. Era
-
Hi All, I'm having trouble docking a window which should automatically fixed to the top, right and left edges of a one half of a SplitContainer when it opens. The child window should open when I click an option from a TreeView that I'm having in the other part of the SplitContainer. Thanx in advance. Era
erarocks wrote:
I'm having trouble docking a window
What exactly is the trouble?
-- gleat http://blogorama.nerdworks.in[^] --
-
Hi All, I'm having trouble docking a window which should automatically fixed to the top, right and left edges of a one half of a SplitContainer when it opens. The child window should open when I click an option from a TreeView that I'm having in the other part of the SplitContainer. Thanx in advance. Era
You do not very clearly describe exactly what it is that you are trying to do. If I read this correctly then it appears that what you are doing is this: left side has a treeview with items in it. when you click on a value in the treeview you populate the other side with a control that is populated with the data related to the value chosen in the treeview. I also am guessing that the problem is that the user control doesn't dock in the other side of the SplitContainer. It is up to YOU to do that. Do the same thing programmatically that you would do in the designer. 1) put control into container 2) tell the control how you want it docked. ... era does not rock if era cannot clearly explain his problem.