|
-
Jun 3rd, 2004, 06:50 AM
#1
Thread Starter
New Member
Visual Basic Net - Waiting for form to finish?
Hi,
I want to call multiple forms one after the other.
But i want them to show up when the last one is finsihed.
I am calling them from a seperate module, which has:
dim Frm1 As New Form_Task1
dim Frm2 As New Form_Task2
dim Frm3 As New Form_Task3
Frm1.ShowDialog() ' would like to show this form and wait for the user to select a button
Frm2.ShowDialog()' Show this when the previous form has finished...
Do i need to setup a return value and set variable = Frm1.ShowDialog ?
Can someone show me how this is done?
cheers,
toil
-
Jun 3rd, 2004, 07:27 AM
#2
Member
Just type
Frm1.ShowDialog()
Frm2.ShowDialog()
Do this from where you want to call them.
ex: if you push a button or something like that.
The command ShowDialog waits until the form it calls, closes.
No return value is needed
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
|