Multiple 'pages' on the same form

petraska

New member
Joined
Apr 12, 2008
Messages
1
Programming Experience
10+
Take a windows form object. Add some Back and Next buttons. When the use clicks these buttons, the contents of the form are switched to the previous or next page. Kind of like a standard windows wizard.

What is the best way to replicate this?

I have been debating between programming the locations of all the controls on the page or simply creating all the pages in separate panels and only setting one to visible all the time.

Is there a better way?

Cheers,
Daniel
 
There exist a TabControl for paging functionality.
You can also design different "pages" as UserControls and add/remove these to the form.
The most common wizard paging I see is just showing different forms, though, one after the other.
 
Back
Top