Wizards

J

Joe Holzhauer

I'm creating a wizard, and I'm wondering what the best method is...

I had separate forms that open each other, but the data I'm collecting are
difficult to pass from form to form (multiple arrays). It works, but with a
LOT of coding.

I also thought of doing the above, but have a hidden form control the
opening and closing of the visible forms, and also storing the data.

Another idea I had was to use a tab control, but the style isn't the same
(unless there's some way to hide the tabs and just use them as separate
"forms" on the same form).

Is there an easy way to do this that I'm missing??

Thanks for any advice!
Joe
 
J

Jeff Conrad

in message:
I'm creating a wizard, and I'm wondering what the best method is...

I had separate forms that open each other, but the data I'm collecting are
difficult to pass from form to form (multiple arrays). It works, but with a
LOT of coding.

I also thought of doing the above, but have a hidden form control the
opening and closing of the visible forms, and also storing the data.

Another idea I had was to use a tab control, but the style isn't the same
(unless there's some way to hide the tabs and just use them as separate
"forms" on the same form).

Is there an easy way to do this that I'm missing??

The tab control sounds like the way to go. Set up all the information
you need on the various pages and then go to the Properties for the
tab control itself. Set the Style to "None" so the page tabs themselves
to do not show up. Create a Back and Next button. In the click event
of those buttons test to see which tab you are on and then move forward
or backward as needed. Use the tab control's Change event to modify
what is seen on the pages as needed. Since all the information is actually
on one form, getting the information you will need is much simpler than
working with several forms.
 
Top