Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to close Multiple - Forms

Status
Not open for further replies.

0kioyp

Programmer
Jun 15, 2002
13
US
form A is main form a call form b form a call form c then
close form a then form b and form c is active
how to close all form?
 
use - hide_view('form a');
use - hide_view('form b');

or if you are closing the form to exit please use - exit_form;

Hope this can help

Jhoann
 
You may set some global variable and check its value in when-window-activated trigger of each form:

procedure exit_all
is
:global.closing_all:='Y';
exit_form;
end;


w-w-a trigger:

if :global.closing_all='Y' then
exit_form;
end if;
 
I'm used function 'open_form'
Main Form (form A) --> open_form('form B')
Main Form (form A) --> open_form('form C')

But when I'm close form A then form B and form C are Active How to closing all form ?
Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top