Ets_Ctl_Edit_Top_Line_Set()
Note: Requires OPNET Development Kit
Abstract
Sets the top text line visible in an edit control.
Syntax
Ets_Ctl_Edit_Top_Line_Set (ctl_ptr, line_num)
| Argument | Type | Description |
|---|---|---|
ctl_ptr |
EtsT_Ctl * |
pointer to an ETS control |
line_num |
int |
line number to set as top line (line numbers begin with 0) |
Return Type
EtsT_Compcode
EtsC_Compcode_Failure if the control is not an edit area or edit field; EtsC_Compcode_Success otherwise.
Header
ets_api_gui.h
Details
This function scrolls the edit area content so that the specified line is the top line visible in the edit area.