Control - MouseOver Property

MouseOver determines whether the mouse is directly over a control

Member of Control (PRIM_CTRL)

Data Type - Boolean


The MouseOver property will return True if the mouse is directly over a control.
If the mouse is over a child control, MouseOver will be false.
MouseOver is useful when MouseEnter/MouseLeave code is being executed to change the appearance of a control, but other factors are also affecting the control's state.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020