How to set Tab Control visible property to False !!!!

  • Thread starter Thread starter Flying Whiz
  • Start date Start date
F

Flying Whiz

I have a Tab control on one of my forms.I have two Tab pages,Page1 and
Page2.When I load the form I want to show Page1 without showing the
Tab Control on my form.I want to navigate tab pages with buttons on
the form.
Hw can I set this.

Thanks
Whiz
 
I have a Tab control on one of my forms.I have two Tab pages,Page1 and
Page2.When I load the form I want to show Page1 without showing the
Tab Control on my form.I want to navigate tab pages with buttons on
the form.
Hw can I set this.

don't think that this will work with the TabControl in CF

try to make Panels with your controls on it (you can put each panel on a
different form to have a comfortable designer).

Create the forms at runtime when you need the panels. Then switch the
parent of the panel to the form where you like to show it (you should be
able to put the panels on a "Master"-Panel for example...

Boris
 
Thanks Boris....It worked

Whiz

Boris Nienke said:
don't think that this will work with the TabControl in CF

try to make Panels with your controls on it (you can put each panel on a
different form to have a comfortable designer).

Create the forms at runtime when you need the panels. Then switch the
parent of the panel to the form where you like to show it (you should be
able to put the panels on a "Master"-Panel for example...

Boris
 
Back
Top