same form loading twice
Posted on 2006-06-29
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.