subodh2005
asked on
same form loading twice
am using VB6.
I have a MDI parent )mdiMain) and two MDI Child forms. ( FOrm1 and Form2)
When the application opens the Form 1 (transacation entry) opens in the MDI parent screen.
I click on the menu to open Form 2 ( form 1 is still open). Form2 is History form displaying transactions entered. From Form 2 I wish to open the same Form1 for editing the transactions. But instead it is creating a new instance of Form1. So there are two versions of the FORM 1
How do I set focus on the form 1 that is already open and visible ? I do not want FORM 1 to be created again.
I will appreciate any help in this regard.
I have a MDI parent )mdiMain) and two MDI Child forms. ( FOrm1 and Form2)
When the application opens the Form 1 (transacation entry) opens in the MDI parent screen.
I click on the menu to open Form 2 ( form 1 is still open). Form2 is History form displaying transactions entered. From Form 2 I wish to open the same Form1 for editing the transactions. But instead it is creating a new instance of Form1. So there are two versions of the FORM 1
How do I set focus on the form 1 that is already open and visible ? I do not want FORM 1 to be created again.
I will appreciate any help in this regard.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Nice thaught dear subodh2005.
I appreciate this like attitude and i wish u all the success in your life.
I appreciate this like attitude and i wish u all the success in your life.
ASKER
Thanks