RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWinControl.MouseInClient Property

Indicates whether the mouse pointer is currently in the client area of the control.

Pascal
property MouseInClient: Boolean;
C++
__property Boolean MouseInClient;

Use MouseInClient to check whether the mouse pointer is currently located in the client area of the control. MouseInClient is also used internally to fire the OnMouseEnter and OnMouseLeave events. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!