Ets_Ctl_Table_Row_Center()
Note: Requires OPNET Development Kit
Abstract
Positions the row so it is vertically centered in the table control.
Syntax
Ets_Ctl_Table_Row_Center (table_ctl_ptr, row)
| Argument | Type | Description |
|---|---|---|
table_ctl_ptr |
EtsT_Ctl * |
Pointer to the table control of interest. |
row |
int |
Row number of row to be centered |
Return Type
EtsT_Compcode
EtsC_Compcode_Success if the table and row exist. EtsC_Compcode_Failure otherwise.
Header
ets_api_gui.h
Details
This function scrolls the table so that the given row is centered in the table control. It may not center the row precisely if doing so results in blank space at the top or bottom of the table. However, the specified row is guaranteed at least to appear in the field of view.
To scroll minimally, so that the row is displayed with minimal scrolling and is not necessarily centered, see Ets_Ctl_Table_Row_Show().