How to close window without exit form? [message #355150] |
Wed, 22 October 2008 22:16 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
aorlunla
Messages: 20 Registered: March 2008
|
Junior Member |
|
|
Hi Everyone,
I have some problem with my form.I have 2 canvas in form which Main window and Detail window. So I want to exit form when I click (x) on Main window and also when I click (x) on Detail window I want to return to Main Window. but my problem now is when I click (x) on Detail window it always exit form too. How can I solve this problem? thank you for every help.
Regards,
aorlunla
|
|
|
|
Re: How to close window without exit form? [message #355383 is a reply to message #355150] |
Thu, 23 October 2008 21:26 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
aorlunla
Messages: 20 Registered: March 2008
|
Junior Member |
|
|
Dear David,
Thank you for reply. I use
hide_window('Deatil_window');
go_block('Main_window');
then when I'm on Detail window and click (X) it'll return to Main Window but When I'm on Main window and click (x) it won't exit form. how can I solve this
Regards,
aorlunla
|
|
|
Re: How to close window without exit form? [message #355662 is a reply to message #355150] |
Sun, 26 October 2008 23:20 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
aorlunla
Messages: 20 Registered: March 2008
|
Junior Member |
|
|
Dear all,
Now I can solve this problem by using Key_exit for each block level.
for main block using :: exit_form;
and detail block using :: go_block('Main_block');
so now when I'm on Detail window and click (x) it will return to Main window
and if I'm on Main window and click (x) it will exit form.
hope this help.
Regards,
aorlunla
|
|
|