Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Control - MouseOver Property

Panel
bgColor#2c3c4c

MouseOver determines whether the mouse is directly over a control

Member of Control (PRIM_CTRL)

Data Type - Boolean

Details

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