Click or drag to resize

ScrollEvent Properties

X#

The ScrollEvent type exposes the following members.

Properties
  NameDescription
Public propertyHandle
The pointer to the window where the event occurred
(Inherited from Event.)
Public propertyIsWindowScroll
A logical value indicating whether the scroll bar which generated this ScrollEvent was a window scroll bar or a free-standing scroll bar.
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).
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).
Public propertyScrollBar
The scroll bar that generated this ScrollEvent.
Public propertyScrollBarID
The ID of the scroll bar that generated this ScrollEvent.
Public propertyTYPE
A string representing the type of scrolling action that took place when this ScrollEvent occurred.
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
See Also