how to load a form from another form 
Author Message
 how to load a form from another form

Situation:

I have code in a form that I already loaded.

On this form I have a large procedure for processing data.  At a midpoint in
the processing, I want to load another form, look at some data graphically
displayed, when ready, give them a cmdReturn to go back to the first form
and continue processing from the point it left.

The problem is the graphics display form loads in an instant, but the focus
returns to the first form and the processing continues from the first form
without allowing the user to view the graphics and re-initiate the
processing themselves.

How do I get the focus to remain on the second form until the user decides
to continue processing?

Thanks in advance,

Mike



Tue, 30 Dec 2003 22:19:51 GMT  
 how to load a form from another form
Display the second form Modally.  Do this by using a line similar to:

  Form2.Show vbModal, Me

Execution will return to the first form when the second form is closed.

Howard Henry Schlunder



Quote:
> Situation:

> I have code in a form that I already loaded.

> On this form I have a large procedure for processing data.  At a midpoint
in
> the processing, I want to load another form, look at some data graphically
> displayed, when ready, give them a cmdReturn to go back to the first form
> and continue processing from the point it left.

> The problem is the graphics display form loads in an instant, but the
focus
> returns to the first form and the processing continues from the first form
> without allowing the user to view the graphics and re-initiate the
> processing themselves.

> How do I get the focus to remain on the second form until the user decides
> to continue processing?

> Thanks in advance,

> Mike



Tue, 30 Dec 2003 22:25:11 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. invisibly load MDI form and child form

2. load another form form one form

3. Windows Forms - Loading & Unloading Forms

4. VB Form Designer cannot load a form

5. Changing form-properties while running before loading the form

6. Loading MDI Child forms to a parent form from a DLL

7. Loading a form within a form

8. How to load form using form name from field

9. ???????? GURUS - Showing or Loading Forms by use of String variable containing Form Name

10. Unloading Forms causing a Form Load Event???

11. Unloading Forms causing a Form Load Event???

12. VB4 Load form in form

 

 
Powered by phpBB® Forum Software