Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TControl.MouseInClient

True when the mouse is in the client area for the control.

Declaration

Source position: controls.pp line 1742

public property TControl.MouseInClient : Boolean
  read FMouseInClient;

Description

MouseInClient is a read-only Boolean property which indicates if the mouse pointer has entered the client area for the control. The value for the property is updated when CM_MOUSEENTER or CM_MOUSELEAVE messages are handled for the control. The property value is set to True in CMMouseEnter, and set to False in CMMouseLeave.

Use the OnMouseEnter or OnMouseLeave event handlers to perform actions needed when the mouse control messages are handled for the control.

See also

TControl.ClientRect

  

Size of the client area for the control.

TControl.CMMouseEnter

  

Message handler for mouse entering the control.

TControl.CMMouseLeave

  

Message handler for mouse leaving the control.

TControl.MouseEnter

  

Invokes the OnMouseEnter handler.

TControl.OnMouseEnter

  

Event handler signalled when the mouse pointer has entered the control.

TControl.MouseLeave

  

Invokes the OnMouseLeave handler.

TControl.OnMouseLeave

  

Event handler signalled when the mouse pointer has left the control.



CT Web help

CodeTyphon Studio