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.
 

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