You need to remove the TabPage from TabControl collection of pages.
I wrote an article on this control. see it from
http://www.emoreau.com/Entries/Articles/2004/05/The-(incomplete)-TabControl.aspx>Yes I know that but in VFP if you set the Tabs property of the tab control to false, it hides the tabs header, that's what I want to do. Sorry if I didn't explain it clearly.
>
>Thanks for your reply!
>
>
>>Enmanuel,
>>
>>>In the Winforms Pageframe control, is there an equivalent of VFP's Tabs property?
>>>
>>
>>In the property sheet it is TabPages and is a collection. If you need programatic access you can do this for instance.
>>tabMyTabControl.SelectedIndex = 3; // To select or switch to the 4th tab in the collection.
>>
>>Tim
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com