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 SkipVought 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 the window using [X]?

Status
Not open for further replies.

olivek

MIS
Jun 17, 2003
13
0
0
US
I am using forms9i, the [x] sign on the corner of the screen seems need some code to work. I put hide_window('win_name') under when_window_closed trigger, but it doesn't work. Which trigger is associated with [X]?
Thank you!
 
I dont think the window will close if you do not move the text cursor out of it. You will need to do a GO_ITEM or GO_BLOCK in advance of your HIDE_WINDOW call.

I assume your when_window_closed trigger name is a typo. The name of the trigger is WHEN-WINDOW-CLOSED.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top