D
Deepa Yamini S
Hi all,
I have created two forms namely form1 and form2 in my application. I
created a button "start" in form1. When this button is clicked form2
is initialised as a child object and an instance of form2 is displayed
at the same time hiding form1 from the user. In form2 I have an "exit"
button, which when clicked invokes "me.close()". This closes form2
which is active. but still the program is not stopped, Because form1
was the startup object and it is been hidden. So the hidden form1 is
alive and hence the program does not stop and the user is not seeing
anything on his screen.Please tell me a way to hide form1 when form2
is invoked and at the same time when form2 is closed the entire
program should be closed.
With smiles,
Deepa.
I have created two forms namely form1 and form2 in my application. I
created a button "start" in form1. When this button is clicked form2
is initialised as a child object and an instance of form2 is displayed
at the same time hiding form1 from the user. In form2 I have an "exit"
button, which when clicked invokes "me.close()". This closes form2
which is active. but still the program is not stopped, Because form1
was the startup object and it is been hidden. So the hidden form1 is
alive and hence the program does not stop and the user is not seeing
anything on his screen.Please tell me a way to hide form1 when form2
is invoked and at the same time when form2 is closed the entire
program should be closed.
With smiles,
Deepa.