Ets_Ctl_Edit_Line_Append()
Note: Requires OPNET Development Kit
Abstract
Appends a line of text to an edit field or edit area control.
Syntax
Ets_Ctl_Edit_Line_Append (ctl_ptr, text)
| Argument | Type | Description |
|---|---|---|
ctl_ptr |
EtsT_Ctl * |
pointer to an ETS control |
text |
const char * |
pointer to the line of text to be inserted |
Return Type
EtsT_Compcode
EtsC_Compcode_Failure if the control is not an edit field or area; EtsC_Compcode_Success otherwise.
Header
ets_api_gui.h
Details
For edit fields or edit areas, appends the specified line of text to the end of the control. The insertion point is placed after the appended text. For other types of controls, a recoverable error is issued.