MouseOverPart Property

Visual LANSA Feature

MouseOverPart Property

DirectX Only

Determines whether the mouse is directly over a control or any child control.  In effect, this determines whether the mouse is within the physical bounds of the control.

MouseOverPart is useful when MouseEnter/Leave code is being run to change the appearance of a control, but other factors are also affecting the control's state.

True

The mouse is directly over the control or one of its children

False

The mouse is not over the control or any of its children