justamistere
Programmer
How do I return to the first form without closing it?
After exiting "MyEditForm" and then exiting "MySearchForm", the first form "MyForm" also closes. Description follows.
ABC_Start.prg
*** From the startup program "ABC_Start.prg"
*** MyForm is Modeless
DO FORM MyForm NAME MyForm LINKED
*** On the btnSearch.Click Event of "MyForm"
*** MySearchForm is Modal
DO FORM MySearchForm WITH "MAINTAIN"
*** on the btnEdit.Click Event of "MySearchForm"
*** MyEditForm is Modal
DO FORM MyEditForm WITH ""
After exiting "MyEditForm" and then exiting "MySearchForm", the first form "MyForm" also closes. Description follows.
ABC_Start.prg
*** From the startup program "ABC_Start.prg"
*** MyForm is Modeless
DO FORM MyForm NAME MyForm LINKED
*** On the btnSearch.Click Event of "MyForm"
*** MySearchForm is Modal
DO FORM MySearchForm WITH "MAINTAIN"
*** on the btnEdit.Click Event of "MySearchForm"
*** MyEditForm is Modal
DO FORM MyEditForm WITH ""