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.

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().

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com