SetPanelCurrentKey Function

Sets the next key position. This cannot be used to traverse backwards.

bool SetPanelCurrentKey(Handle panel, int key)

Parameters

Handle panel

A MenuPanel Handle.

int key

Key that is greater or equal to GetPanelCurrentKey().

Return Value

True on success, false otherwise.

Errors

Invalid Handle.