Share this page

# Example: sapgui_tree_set_checkbox

The following example uses sapgui_tree_set_checkbox to select and clear a checkbox.

    // Select the box

    sapgui_tree_set_checkbox("Child1 Col. 1, Column3, True",

        "usr/cntlTREE_CONTAINER/shellcont/shell", // treeID

        "Child1", // nodeKey

        "Column3", //itemName

        "True",    //value

        BEGIN_OPTIONAL,

            "AdditionalInfo=info10110",

        END_OPTIONAL);

    // Clear the box

    sapgui_tree_set_checkbox("Child1 Col. 1, Column3, False",

        "usr/cntlTREE_CONTAINER/shellcont/shell",

        "Child1",

        "Column3",

        "False",

        BEGIN_OPTIONAL,

            "AdditionalInfo=info10109",

        END_OPTIONAL);

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: