newbee question

  • Thread starter Thread starter Alexia
  • Start date Start date
A

Alexia

Hi,

I have a real beginner question for u....
what i want to do is close a form when a new one opens.
At present when i run my application and arrive at the
main form, i press a button to display a second form, but
the 1st form is still in the background.

I tried to use me.close but this ends the whole
application. what am i doin wrong?
 
Hi,

thx for your help Miha. Just to confirm, do i write..

me.hide()
dim frm1 as new FORM1
frm1.show

Will this unload the form?
i.e if i close form2 after i hide form1 will the
application close?
 
Hi,

Alexia said:
Hi,

thx for your help Miha. Just to confirm, do i write..

me.hide()
dim frm1 as new FORM1
frm1.show

Will this unload the form?
i.e if i close form2 after i hide form1 will the
application close?

No. It depends on Form1.
You'll have to close it.
 
Back
Top