Click or drag to resize

SliderEvent Class

X#
Provide information about a slider event, which is generated when the thumb of a slider is dragged with the mouse or moved by pressing the Direction keys.
Inheritance Hierarchy
Object
  Event
    ScrollEvent
      SliderEvent

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 CLASS SliderEvent INHERIT ScrollEvent
Request Example View Source

The SliderEvent type exposes the following members.

Constructors
  NameDescription
Public methodSliderEvent
Initializes a new instance of the SliderEvent class
Top
Properties
  NameDescription
Public propertyHandle
The pointer to the window where the event occurred
(Inherited from Event.)
Public propertyMessage
A dword representing the Windows API message associated with the given event.
(Inherited from Event.)
Public propertyOldPosition
A numeric value representing the old position of the thumb in a scroll bar when this ScrollEvent occurred (that is, where the thumb was located before being manipulated by the user).
(Inherited from ScrollEvent.)
Public propertyPosition
A numeric value representing the desired position of the thumb in a scroll bar when this ScrollEvent occurred (that is, where the user has newly positioned the thumb).
(Inherited from ScrollEvent.)
Public propertyScrollBar
The scroll bar that generated this ScrollEvent.
(Inherited from ScrollEvent.)
Public propertyScrollBarID
The ID of the scroll bar that generated this ScrollEvent.
(Inherited from ScrollEvent.)
Public propertySlider
The slider control object that generated this event.
Public propertyTYPE
A string representing the type of scrolling action that took place when this ScrollEvent occurred.
(Inherited from ScrollEvent.)
Public propertyWindow
An object indicating the window or control in which the event occurred. This is helpful, for example, for distinguishing between similar menu events coming from the same context menu attached to different controls.
(Inherited from Event.)
Top
Fields
  NameDescription
Public fieldhWnd (Inherited from Event.)
Public fieldlParam (Inherited from Event.)
Public fieldoWindow (Inherited from Event.)
Public fielduMsg (Inherited from Event.)
Public fieldwParam (Inherited from Event.)
Top
Remarks
A slider event is generated when the thumb of a slider is moved either by mouse or by keyboard. This event is generated for both horizontal and vertical sliders.
See Also

Reference