Can You Hide A Tab Page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a Tab Control with tab pages. The tab pages are named. As an
example, one of my tab pages is named

tabSubClient

I can code the line

tabSubClient.Visible = False

The line compiles and executes but has no effect. The tab page is still
visible.

I can also do

tabSubClient.Enabled = False

which works, but I really want to hide it when the case dictates.

Although both Visible & Enabled appear in intellisense, neither is shown in
the documentation.

Any help will be appreciated.
 
Cor Ligthert said:
Edb,

Have a look for tabpages at these pages

http://dotnetrix.co.uk/tabcontrols.html

If it is not there it is probably nowhere.

I hope this helps,

Cor

:-)

There is at least one tip that you won't find there but it does exist, you
can get tabpages to turn into forms and, upon close, back into tabpages.
http://www.vb-tips.com/default.aspx?ID=9b6e341d-2fe4-48d3-a2e0-15bf0bc311ff

....although the example is described as 'TabControl Add a Selected Tab
Change event.'
 

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

Back
Top