Example: sapgui_text_edit_set_selection_indexes

This example shows the selection of the first five characters in the text edit control. Note that the end parameter is the index of the first character after the selection, so characters 0 to 4 are selected when the end parameter is 5.

sapgui_text_edit_set_selection_indexes(
    "Set range",
    "usr/cntlSRC/shellcont/shell",
    "0",
    "5",
    LAST );