Modal Forms 
Author Message
 Modal Forms

My problem is How to show Modal Forms at the same time:
when 1st form unloaded, the second is also modal
form, .....


Sun, 29 Aug 2004 04:33:26 GMT  
 Modal Forms
You have to call the new form's show method from the previous form ...  you
can't just put a series of modal show commands in one event since execution
suspends until the first modal form is closed. I.e...

'in form 1
command1_click
   form2.show vbmodal
end sub

'in form 2
command1_click
   form3.show vbmodal
end sub

--

Randy Birch
MVP Visual Basic

http://www.mvps.org/vbnet/

Please respond only to the newsgroups so all can benefit.

*** If you call the Sleep API in Bill's latest, will it have .NET dreams?
***


Quote:
> My problem is How to show Modal Forms at the same time:
> when 1st form unloaded, the second is also modal
> form, .....



Sun, 29 Aug 2004 06:59:01 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. MODAL FORM & NON MODAL FORM

2. Modal Form with Modal form using Control?

3. MODAL FORM & NON MODAL FORM

4. Modal Form can't open another Modal Form

5. MODAL FORM & NON MODAL FORM

6. non-modal form when a modal form is displayed

7. MODAL FORM & NON MODAL FORM

8. Loading a Modal Form from a Modal Form

9. ActiveX control on modal form give 'can't show non-modal form when modal form is displayed'

10. Problem with draw order after calling modal a modal from from a modal form

11. Unloading modal owner form also unloads modal form?

12. How Do I Change A Modal Form To Non-Modal

 

 
Powered by phpBB® Forum Software