nca_win_close

Window Object Functions

Closes a window.

int nca_win_close( LPCSTR window );
window The logical name of the window.

The nca_win_close function closes the specified window.

Return Values

Oracle NCA Error Codes

Parameterization

The following variable can be parameterized using standard parameterization: window

Example

In the following example, the nca_win_close function closes the Find Journals window.

nca_button_press("GLXJEENT.FOLDER_QF.NEW_HEADER.0");
nca_win_close("Find Journals");
nca_menu_select_item("Toolbar", "Action;Close Form");
nca_message_box_press("Forms",1);
nca_popup_message_press("Decision", "No");