Home » Developer & Programmer » Forms » How to close window without exit form?
How to close window without exit form? [message #355150] Wed, 22 October 2008 22:16 Go to next message
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 #355370 is a reply to message #355150] Thu, 23 October 2008 19:02 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Look at http://www.orafaq.com/forum/t/126606/67467/

David
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 messageGo to next message
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
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
Previous Topic: Navgation Setting in Form 10g
Next Topic: vb vs form 6i as interface .... oracle as back end...
Goto Forum:
  


Current Time: Sat Dec 10 07:20:44 CST 2016

Total time taken to generate the page: 0.11849 seconds