GotMouse Property - Panel

Applies to:  Panel Control
See also:  MouseEnter Event, MouseLeave Event - Panel, Property Index

Returns a boolean value indicating whether the control has captured mouse input.

Read only at run-time.  Not available at design-time.

Type:

Boolean

Return Values:

Value Meaning
True The control currently has mouse capture.
False The control currently does not have mouse capture.

Remarks:

By default, mouse input is captured when the mouse pointer enters a Panel, and is released when the mouse pointer leaves the control, or when the mouse pointer moves over another control placed on or within the Panel.

Mouse input can be explicitly captured and released by calling TrackMouse and ReleaseMouse.

 

Home

Copyright and Disclaimer