sapgui_text_edit_set_unprotected_text_part
| Text Edit Control Functions |
Assigns the text to the unprotected text part.
int sapgui_text_edit_set_unprotected_text_part( const char *description, const char *textEditID, const char *part, const char *text, [args,] LAST );
| description | User entered text to aid in understanding script |
| textEditID | Object ID Strings |
| part | The zero-based index of the unprotected part. |
| text | The text to be entered in the unprotected part |
| args | Optional Arguments |
| LAST | A marker indicating the end of the argument list. Not required if Optional Arguments are used. |
sapgui_text_edit_set_unprotected_text_part assigns the content of text to the unprotected text part with zero based index, part.
Return Values
This function returns LR_PASS (0) on success or LR_FAIL (1) on failure.
Parameterization
You can parameterize all string (char type) arguments.
Example
In this example, sapgui_text_edit_set_unprotected_text_part enters the opening sentence of Pride and Prejudice in the first unprotected part of the text edit control.
sapgui_text_edit_set_unprotected_text_part(
"Start Book",
"usr/cntlSRC/shellcont/shell",
"0",
"It is a truth universally acknowledged, that a single man in possession of a good fortune, must be in want of a wife.",
LAST );

