Example: sapgui_text_edit_scroll_to_lineText Edit Control Functions

Scrolls to line in text edit control.

int sapgui_text_edit_scroll_to_line( const char *description, const char *textEditID, const char *lineNumber, [args,]  LAST );
description User entered text to aid in understanding script
textEditIDObject ID Strings
lineNumber 1 based line number
argsOptional Arguments
LAST A marker indicating the end of the argument list. Not required if Optional Arguments are used.

sapgui_text_edit_scroll_to_line emulates a users scrolling until the line is visible. The line is not selected.

Return Values

This function returns LR_PASS (0) on success or LR_FAIL (1) on failure.


You can parameterize all string (char type) arguments.