property MenuButton.CursorInside as Boolean
Checks whether the cursor is over the control.

TypeDescription
Boolean A boolean expression that indicates whether the cursor is inside of the control.

Use the CursorInside property to check whether the cursor is over a MenuButton object.