Share this page

# Example: nca_message_box_press

In the following example, the nca_message_box_pressfunction clicks button 4, 1, and 2 in the Forms message box. These buttons correspond to Cancel, Yes, and No.

    nca_edit_click("ECETPDEF.ECE_TP_HEADERS.BANK_CODE.0");
    nca_menu_select_item("Toolbar", "Query;Enter");
    nca_message_box_press("Forms",4);
    nca_menu_select_item("Toolbar", "Query;Enter");
    nca_message_box_press("Forms",1);
    nca_popup_message_press("Error", "OK");
    nca_edit_click("ECETPDEF.ECE_TP_HEADERS.TP_CODE.0");
    nca_menu_select_item("Toolbar", "Query;Enter");
    nca_message_box_press("Forms",2);
    nca_menu_select_item("Toolbar", "Query;Enter");

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