Set properties of a Tab page

J

JohnC

I need to set properties of a page/tab control through code. What is the
syntax to refer to properties of the page? I need to disable/enable the
whole tab based on some parameters.

JohnC.
 
M

Marshall Barton

JohnC said:
I need to set properties of a page/tab control through code. What is the
syntax to refer to properties of the page? I need to disable/enable the
whole tab based on some parameters.

You can use:

Me.TabCtl0.Pages(0).Enabled

to disable all the controls on the first page.
 
Top