VB.NET wizard form

P

Paul Taylor

Hi all,

I'm writing an app in VB.NET and want it to look and behave like a typical
application wizard (i.e. with the usual Next, Cancel, Back etc). Should I
be looking to use multiple forms or is there a better, cleaner way of doing
it?

Cheers

Paul Taylor
 
C

Cyril Gupta

Hello Paul,

For this sort of thing I usually use a Panel. Put some controls in it and
set their visibile property to True False to toggle their appearence.

That should do it for you Paul.

Regards
Cyril Gupta
 
M

Mick Doherty

You can use a TabControl with a minor modification. Just use buttons to
increment/decrement the SelectedIndex of the TabControl.

For the modifications needed for the TabControl see the example on my site
titled "Add a HideTabs property to turn on/off the Tabs"
http://www.dotnetrix.co.uk/tabcontrols.html
 
P

Paul Taylor

Hi Mick,

Thanks for that, looks like that's the way to go, a fine trick!

Cheers

Paul

"Mick Doherty"
 
C

Cyril Gupta

Hello Mick

Thanks for the article. I am not using it for the wizard, but it solved an
entirely different problem I was having with the TabControl.

cheers to you.

Cyril Gupta
 
M

Mick Doherty

Would that problem be that TabPages are not shown when Alignment is not set
to Top and Appearance is not set to Normal? I have updated the example to
fix that too, but my ISP probably won't update the page for a couple of days
so you won't see that yet.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top