Enabling / Disabling Tab Pages

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

Guest

I have tab control which has some TabPages. I want to enable or disable the
tabpages based on some condition. It is possible to that.

Thanks in advance.
 
Vignesh said:
I have tab control which has some TabPages. I want to enable or disable the
tabpages based on some condition. It is possible to that.

Thanks in advance.

Do you want the tab to noot show up at all? Turn Grey? What are you
looking for?

Chris
 
I have tab control which has some TabPages. I want to enable or disable the
tabpages based on some condition. It is possible to that.

What do you mean by disabling?
 
Hi,

The tab pages should show up(Visible), but disabled. i want the way it works
in VB 6.0. tab control.
 
Vignesh said:
The tab pages should show up(Visible), but disabled. i want the way it
works
in VB 6.0. tab control.

Disabling tabpages was not supported by VB6' TabStrip control.
 
Hi,

In SSTab we can individually enable or disable the tabpages. I want way it
works.
Suppose i have button and tabcontrol( has 3 tab pages) in form. On click of
the button i want make the tab page 2 to be disbabled.

Sample Code:

Private Sub Command1_Click()
SSTab1.TabEnabled(1) = False
End Sub

Thanks
Vignesh
 
Vignesh said:
In SSTab we can individually enable or disable the tabpages. I want way it
works.
Suppose i have button and tabcontrol( has 3 tab pages) in form. On click
of
the button i want make the tab page 2 to be disbabled.

ACK, but .NET's TabControl control bases on the same Win32 control VB6'
TabStrip control does. SSTab isn't based on this control.
 
Back
Top