Closing all the forms from the menu [message #86935] |
Mon, 22 November 2004 04:28 |
aditya gangadharam
Messages: 15 Registered: September 2004
|
Junior Member |
|
|
hi all,
i am using a menu module in oracle 9i and opening all then forms through the menu itself and in the menu i have kept the close and exit caption. and in the close i am closing the forms that are opened and the code i wrote for closing the current form is:
exit_form(No_Validate);
and in the exit i want to exit from the application it self by closing all the opened forms. i need the help regarding this. please help me out.
thanks for the help.
adi.
|
|
|
Re: Closing all the forms from the menu [message #87004 is a reply to message #86935] |
Sun, 28 November 2004 08:38 |
Just John
Messages: 69 Registered: November 2004
|
Member |
|
|
You have to use a variable (I would use a gobal) and pass it to each calling form when widow activated trigger.
So when a window is activated it checks for the variable and if it is set closes the form and so on until you either ignore the variable or exit the application.
|
|
|