nca_list_select_item

List Object Functions

Selects a list item by its name.

int nca_list_select_item( LPCSTR list, LPCSTR item );
list The logical name of the list.
item The name of the list item to select.

The nca_list_select_item function selects (performs a single mouse-click on) an item from a list. The item is indicated by its name.

Return Values

Oracle NCA Error Codes

Parameterization

The following variable can be parameterized using standard parameterization: item

Example

In the following example, the nca_list_select_item function selects Customers and Quick in the Responsibilities navigation window. Note that the selected options are activated with the subsequent pressing of the Open button.

nca_lov_select_item("Responsibilities", "Order Entry Super User GUI");
nca_list_select_item("FNDSCSGN.NAVIGATOR.LIST.0", "+ Customers");
nca_button_press("FNDSCSGN.NAV_CONTROLS.OPEN.0");
nca_list_select_item("FNDSCSGN.NAVIGATOR.LIST.0", " Quick");
nca_button_press("FNDSCSGN.NAV_CONTROLS.OPEN.0");