2 modal dialog Forms 
Author Message
 2 modal dialog Forms

Hi guys,

  Do you how to get more nested modal dialog box in VB?

  thanks

  P.H



Sun, 29 Aug 2004 03:59:55 GMT  
 2 modal dialog Forms
Not sure what you mean by nesting.. You can show a modal form from another
modal form.

3 Forms with a command button on each.
'============Form1 Code
Option Explicit

Private Sub Command1_Click()
   Form2.Show vbModal
   'This doesn't run until Form2 is unloaded/hidden
   Debug.Print "Form1:Command1_Click", Timer
End Sub
'============Form2 Code
Option Explicit

Private Sub Command1_Click()
   Form3.Show vbModal
   'This doesn't run until Form3 is unloaded/hidden
   Debug.Print "Form2:Command1_Click", Timer
End Sub
'============

--
Ken Halter
MS-MVP-VB
Please keep it in the groups..


Quote:
> Hi guys,

>   Do you how to get more nested modal dialog box in VB?

>   thanks

>   P.H



Sun, 29 Aug 2004 04:18:16 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Modal dialog forms

2. Posting a form from a modal dialog to a IFRAME in the Dialog

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

4. MODAL FORM & NON MODAL FORM

5. Unloading modal owner form also unloads modal form?

6. Modal Form with Modal form using Control?

7. MODAL FORM & NON MODAL FORM

8. Modal Form can't open another Modal Form

9. MODAL FORM & NON MODAL FORM

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

11. MODAL FORM & NON MODAL FORM

12. Loading a Modal Form from a Modal Form

 

 
Powered by phpBB® Forum Software