This property sets whether the mouse wheel can be used to scroll
[C++Builder] imagekitcontrolname->MouseWheel
[= TVIkMouseWheel ]
[Delphi] imagekitcontrolname.MouseWheel
[= TVIkMouseWheel ]
[TVIkMouseWheel Type]
Unit
IkInit
type
TVIkMouseWheel = (vikDisable,
vikVertical, vikHorizontal);
Property Value
Value | Explanation |
---|---|
vikDisable | Disables scrolling with the mouse wheel |
vikVertical | Mouse scrolls in a vertical direction |
vikHorizontal | Mouse scrolls in a horizontal direction |
Explanation
The MouseWheel property sets whether the mouse wheel can be used to scroll. To enable the mouse wheel to scroll, set this property to a value other than vikDisable.
Setting this value
This value can be set at design-time and run-time.
Retrieving this value
This value can be retrieved at run-time.
Differences from ImageKit7/8/9/10 ActiveX
The VCL constants have a "v". In ActiveX, the constants are ikDisable, ikVertical, and ikHorizontal