TabControl

Dave

Newcomer
Joined
Jan 19, 2003
Messages
23
I am trying to make a wizard in a single form by using the TabControl dialog. Is it possible to make it so that the actual clickable tabs at the top don't actually appear? As I want the pages to be changed by my own Next and Back buttons at the bottom of the form.
 
No, I don't think that's possible. You might have to implement a system of panels and change their visibility instead.
 
An old-school "cheat" is to position the tab control partly off the form (by setting it's Location to -16 or whateve the tab height is). You could also "cheat" by placing a panel on top of the tabs, to hide them - in case you can't move the tabs to the edge of the form.

divil's idea is another alternative that I've used. It works especially well for smaller wizards where you don't have to worry about so many panels. If you get too many, it's hard to keep track of them in the designer.

-Ner
 
Back
Top