Hi,
As Frans said you cannot do it, what may work is if you put some control
over the tabs, in this way a click will be handled by the upper control and
not by the tabcontrol
you could hide/show this controls at your convenience to enable/disable the
pages.
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Turxoft" <e.******@turxoft.com> wrote in message
news:O6**************@TK2MSFTNGP12.phx.gbl...
I have a tabcontrol in my form. I want to hide the tabpages. I want the
user cant change the tabpages and do it by code.how can I?