[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Handle for the control with mouse capture.
Source position: controls.pp line 2673
public property TMouse.Capture : HWND |
Capture is a HWND property which contains the handle for the control which has the mouse capture. Its value is read from the LCL interface (and ultimately the widgetset class instance).
Setting a new value for the property causes either SetCapture or ReleaseCapture to be called in the LCL interface (or widgetset class instance). When set to 0 (the unassigned handle value), ReleaseCapture is called. Otherwise, SetCapture is called to assign the new handle value to the widget.
Remark: | For the macOS Carbon widgetset, release capture is not supported. |
Version 4.0 | Generated 2025-05-03 | Home |