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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Chaning Background Contents in a form 1

Status
Not open for further replies.

matthewking

Programmer
Joined
Jul 15, 2002
Messages
75
Location
ES
Hi,

I have an application where toolbar icons change the contents below. e.g. Clients toolbar will display a list of clients, some buttons etc and Reports toolbar will display something completely different in the same form..

I was wondering how you achieve this?

I was thinking to make panels for each area, and show/hide the panels appropiately, but panels don't seem to have a visible property or anything similar.

Any help would be greatly appreciated,
Thanks in advance,

Matt
 
Panels do have visible... panelName.Visible = false;

Regards,
John
 
Hmm..wasn't listed in the properties on my class browser, oh well. It works anyway.

Thanks very much John.
 
easier than that though, why not just use a tabcontrol? they're lovelly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top