MouseWheel
MouseWheel(int delta)MouseWheel(string control, int delta)
Description
Scrolls vertically using the mouse wheel.
If a control is specified, the mouse is first moved to the control before scrolling.
If only a delta value is provided, the scroll action is performed at the current mouse position.
Parameters
- control - (optional) Identifier of the UI control.
- delta - Scroll amount. Positive = scroll up, negative = scroll down.
Returns
- none
Example
void main()
{
// Scroll down on current position
MouseWheel(-120);
// Scroll up on a list control
MouseWheel("LIST_ITEMS", 120);
}