TCaptureEvent = procedure (Sender: TObject; X,Y: Integer) of
Available In: Client and Server Applications
The TCaptureEvent type is a common event type used by the OnCapturing and OnCaptureEnd properties of a control when mouse pointer or touch input capturing is in effect for the control.
The Sender parameter represents the class instance that triggered the event. The X and Y parameters indicate the horizontal and vertical position of the mouse pointer or touch input, in pixels, relative to the bounds of the control that triggered the event.