Share this page

# nca_obj_get_info

Object Functions

Returns the value of an object property.

    int nca_obj_get_info( LPCSTR object, LPCSTR property, char *out_value );

object | The logical name of the GUI object. The object may belong to any class.
property | One of the available properties: Oracle NCA Object Properties.
out_value | The output variable that stores the value of the property.

The nca_obj_get_info function retrieves the value of the specified property and stores it in out_value.

## Return Values

Oracle NCA Error Codes

## Parameterization

The following variable can be parameterized using standard parameterization: object

## Example

In the following example, nca_obj_get_info retrieves the text of the object's message box.

Copy code

    char buffer[100];
    nca_list_select_item("RULE_BUDGET_RULE_0", "Prior Year Budget Monetary*");
    nca_button_press("RULE_ROUNDING_OPTIONS_0");
    nca_obj_get_info("Forms", "msg_text", buffer);
    nca_message_box_press("Forms",1);
    nca_edit_set("RULE_AMOUNT_0", "10000");
    nca_button_press("RULE_ROUNDING_OPTIONS_0");

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: