Skip to content

OnMouseWheel - EntryList

An event sent everytime a mouse wheel is clicked

Type: Event

Parameters

Parameter Type Description
iClicks Integer The number of clicks of the mouse wheel
iKey Integer The windows bit mask that determines what other keys might have been pressed as you move the mouse-wheel. It is not being used in the default implementation. Consult the windows documentation for WM_MouseWheel if you need to use this.

Syntax

Procedure OnMouseWheel Integer iClicks Integer iKey

Description

The mouse wheel is supported in grids. No changes are required to make this work. Scrolling the wheel forward or backwards will scroll your list forwards and backwards as expected.

If you wish to create custom mouse wheel behaviors you can augment the event OnMouseWheel. This message is sent every time a mouse wheel is clicked.

If iClicks is positive the wheel is being moved forward (away from you). By default this is used to scroll towards the top of the list. If iClicks is negative the wheel is being moved backwards (towards you). By default this is used to scroll down the list.