Split Container help! (1 Viewer)

Jaspal

Jas
Local time
Today, 20:02
Joined
Dec 31, 2004
Messages
38
Hi,

Apologies in advance if there is also a similar post regarding this issue!

Basically i have a form with a split container on it. The left panel has a list of buttons for the user to select. The right pane i want the contents of it to change depending on the button that is chosen!

E.g. Button1 is pressed - Customer details are shown in the right pane
Button 2 is pressed - Customer orders are displayed

im have difficulty implmenting this and hope somone can help. Im using VB.NET 2005

Thanks in advance

Jas
 

skea

Registered User.
Local time
Today, 22:02
Joined
Dec 21, 2004
Messages
342
Simple! use the visible property, or just add forms to the panel.
For example when you click Button 1, Add a form with corresponding controls in the panel, when you click button 2, dispose off the other forms and add form 2 with its corresponding controls into the panel.
Another way to skin this cat is to use the tab control! Show page by page.
 

Users who are viewing this thread

Top Bottom