|
-
Jun 11th, 2004, 07:10 AM
#1
Thread Starter
Hyperactive Member
Creating an app with multiple consecutive forms
I am new to Visual studio.NET and Windows apps in general.
I am trying to create a register your software windows app.
Basically, the user runs the app, and the welcome screen appears, then they click next, and they are then asked for their details.
Now the problem is I have created two forms, Form1 containing the welcome message, and Form2 asking for the registration details. The user needs to click the Next button on Form1, to view form2, fine, but the problem is, Form2 loads up in a new window. I basically want Form2 to replace Form1. (You know the same way a typical registration app works), not load in a new window.
What is the easiest way to achieve this?
Am I on the right track in creating 2 seperate forms? Is an MDI app the right way to go here? Thing is, I don't want an MDI app for this, as then the child form has its own headings.
Can't I just hide Form1 and replace it with Form2?
Thanks
-
Jun 11th, 2004, 07:21 AM
#2
PowerPoster
Re: Creating an app with multiple consecutive forms
Originally posted by greg_quinn
Is an MDI app the right way to go here? Thing is, I don't want an MDI app for this, as then the child form has its own headings.
Thanks
You can always change or hide the child form titles etc.
OR
You could use a Splash form as your first form
OR
Use just one form and hide all the early controls and reveal the registration items as required.
Taxes
The more I learn about VB.NET the more I like dBaseIII Plus
The foregoing, whilst believed to be correct, is given without guarantee as to it's accuracy and entirely without recourse. You are required to decide for yourself whether or not it is suitable for your purposes and no liability for loss of any nature can be entertained.
-
Jun 11th, 2004, 07:26 AM
#3
Hyperactive Member
rather than hiding all the controls, it might be a little easier to make panel controls. Put all the controls for step 1 in the first panel, when they click next all you have to do is hide that panel and show the next one. Or of course you could just use a TabControl. Give the user tabs for each portion they will need to fill out, and when they hit next or what not change to the next tab. Just a couple ideas. Good luck
-
Jun 11th, 2004, 07:54 AM
#4
Thread Starter
Hyperactive Member
Hi Tool,
Thanks, the panels did the trick!
Greg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|