Gambas Documentation - /comp/gb.qt4/mouse/inside

/comp/gb.qt4/mouse/inside

# Mouse.Inside (gb.qt4)

Static Function Inside ( Control As Control ) As Boolean

Return if the mouse cursor is inside a specific control.

That function returns FALSE if the control has been explicitly hidden.

The clipping of the parent, grand-parent,... containers is not taken into account.

In other words, that function will return TRUE if the mouse cursor is on a part of the control that is clipped by its parent.