HighTechTalks DotNet Forums  

Load next form in same window - not mdichild

Dotnet Academic General Discussions microsoft.public.dotnet.academic


Discuss Load next form in same window - not mdichild in the Dotnet Academic General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Michael Hammac
 
Posts: n/a

Default Load next form in same window - not mdichild - 01-25-2004 , 12:11 AM






Hi,

I am fairly new to VB.net. I have a form through which I would like to load the next form, like when the user clicks the next button. On the first form the user selects an option depending on which the controls for the next form are loaded. The problem is that I dont want to open the new form in a separate window nor the mdiparent way either (i.e. like a child window within the parent). (I am trying to make interface/program flow much like an installation wizard where the user clicks next and further options open up within the same window).

Thanks for the help in advance.

Michael


Reply With Quote
  #2  
Old   
Alfred C Thompson II
 
Posts: n/a

Default Re: Load next form in same window - not mdichild - 01-25-2004 , 12:50 PM






I think that most of the cases you think are using the same form are
actually just loading new forms (and removing old forms) in the same
location on the screen.

However should you really want to reuse the same form you could just have
multiple objects on the form and change the visible properties of objects
depending on what you want to see at any given time. You could also reuse
objects by changing their text property value and setting some sort of state
variable to control what happens with events on that object.

Alfred

"Michael Hammac" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

I am fairly new to VB.net. I have a form through which I would like to
load the next form, like when the user clicks the next button. On the first
form the user selects an option depending on which the controls for the next
form are loaded. The problem is that I dont want to open the new form in a
separate window nor the mdiparent way either (i.e. like a child window
within the parent). (I am trying to make interface/program flow much like an
installation wizard where the user clicks next and further options open up
within the same window).
Quote:
Thanks for the help in advance.

Michael




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.