C4 Engine
C4 Engine API Documentation

TableWidget::RevealTableItem

Defined in:  C4Widgets.h
Scrolls a table widget to reveal a specific item.
Prototype

void RevealTableItem(int32 index);

Parameters
index The index of the item to reveal.
Description
The RevealTableItem function scrolls a table widget to reveal the item having the zero-baed index specified by the index parameter. The table widget is scrolled far enough to place the row containing the revealed item at the vertical center of the table if possible.

If the index parameter is not in the range [0, n − 1], where n is the number of items in the table, then no change is made to the appearance of the table widget.
See Also

TableWidget::SetDisplayRow

TableWidget::GetTableItemCount