Example: sapgui_active_object_from_parent_property

The following example uses sapgui_active_object_from parent_method to select the horizontal scrollbar of a table.

Action() {
    sapgui_select_active_window("wnd[0]");
    // Selecting 5-th row on "Basic personal data" tab
    sapgui_set_property(
        "shellcont/shell/shellcont[0]/shell/shellcont[1]/shell[1]",
        "HierarchyHeaderWidth", "251", LAST );
    sapgui_active_object_from_parent_property(
        "usr/tabsMENU_TABSTRIP/tabpTAB01/ssubSUBSCR_MENU:SAPMP5
        0A:0400/subSUBSCR_ITMENU:SAPMP50A:0310/tblSAPM"
        "HorizontalScrollbar", LAST );
    ...
    return 0;
}