Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

quick gui question

Status
Not open for further replies.

dushkin

Programmer
Mar 28, 2002
90
US
hi. quick question on panel design. i have a splitter that needs to stop at a panel's panel. is there a way to do that?

thanks in advance.
 
hi. some clarity on the above... I am trying to reproduce the effect acheived by the clickable splitters on the left of the MSN Messenger. 2 splitters with drop down components (trees). I have gotton close (w/o the "clickable" part) by having one main panel docked on the right and then placing four panels, 2 tops and 2 fills on that main panel. 2 splitters fall between each of the sub panel sets. the problem is that when i move one splitter, the other splitter moves away from it. i can't seem to find a way around this. the crucial code for the main panel is below. Thanks much for your suggestions in advance and sorry for the long-winded paragraph.
Code:
// 
// rightpanel
// 

this.rightpanel.Controls.Add(this.splitter3);
this.rightpanel.Controls.Add(this.panel4);
this.rightpanel.Controls.Add(this.panel3);

this.rightpanel.Controls.Add(this.splitter2);
this.rightpanel.Controls.Add(this.panel6);
this.rightpanel.Controls.Add(this.panel5);
 
i figured this out. repositioned my panels, thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top