ListWidget::SetDisplayIndex
Defined in:
Scrolls a list widget so that a specific item is displayed at the top.
C4Widgets.h
Prototype
void SetDisplayIndex(int32 index);
Parameters
index |
The index of the item that should become the first displayed. |
Description
The SetDisplayIndex
function scrolls a list widget so that the item having the zero-baed index specified by the index
parameter becomes the first item displayed at the top of the list. This function makes the best attempt to place this item at the top of the display area, but the index is clamped to the range of values allowed by the overall number of items in the list.
See Also