MouseWheel action to simulate a rotation of the mouse wheel over the object, to which OnscreenObj corresponds.
|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
|Shift||[in]||Optional||TShiftKey||Default value: skNoShift|
All onscreen objects.
To view this method in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
The method has the following parameters:
Specifies the number of detents the mouse wheel should be rotated. A detent is one wheel notch. A positive value means that the wheel will be rotated forward (away from the user); a negative value means the wheel will be rotated backward (toward the user).
Sets whether the Shift, Alt or Ctrl keys are pressed during the mouse wheel rotation (see TShiftKey). By default, this parameter is
skNoShift (the shift keys are not pressed).
To view an example that demonstrates how to use the
MouseWheel action, see Setting the Trackbar Slider's Position.