GuiReferenceSetSingleSelection

Sets the currently selected row in the Reference View instance.

void GuiReferenceSetSingleSelection(int index, bool scroll);

参数

index integer representing the row index to set the current selection to.

scroll a boolean value indicating if the selected index should be scrolled into view if it is not currently.

返回值

此函数不返回值。

示例

GuiReferenceSetSingleSelection(0,true);