Set properties of a Tab page

  • Thread starter Thread starter JohnC
  • Start date Start date
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.
 
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.
 
Back
Top