TabControl1.TabPages(2).Enabled = false doesn't work either?

W

Will Freeman

Hello all,
I saw the post earlier this week that the .Visible property for Tab
Pages doesn't work. It seems that the .Enabled property also doesn't work.
I would like to only disable one or more tab pages based on 'on-the-fly'
criteria, but make them disappear altogether. Is this not possible?
Workarounds?

TIA,
Will
 
H

Herfried K. Wagner [MVP]

Hi Will,

* "Will Freeman said:
I saw the post earlier this week that the .Visible property for Tab
Pages doesn't work. It seems that the .Enabled property also doesn't work.
I would like to only disable one or more tab pages based on 'on-the-fly'
criteria, but make them disappear altogether. Is this not possible?
Workarounds?

'Enabled' and 'Visible' don't work for the tabpage. Nevertheless, you
can prevent the user from selecting another tab:

<URL:http://www.google.de/[email protected]>
 

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

Top