[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Event MouseMove


On 3/19/24 13:32, Gianluigi wrote:
Il 19/03/24 17:50, Gianluigi ha scritto:
Il 19/03/24 17:42, Mayost Sharon ha scritto:
Hello

In VB the event of: MouseMove occurs when the mouse hovers over the
control or form
without clicking the mouse button

In GB it only responds when I press the button and also move the
mouse should it be like that?
How can I implement a situation like in VB that only when I hover
over a control or form with the mouse it will trigger an event

Thanks


Hi,

Form.Tracking = True

Regards
Gianluigi


...to be clearer, the Tracking property of the window should be set to True

And, to be even more clear [ ;-) ], the Tracking property, of whatever control for which one wishes to track mouse movements, should be set True, whether it be a Form or a Control.


--
Lee

--- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ----
--- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----


Follow-Ups:
Re: Event MouseMoveGianluigi <gradobag@xxxxxxxxxxx>
References:
Event MouseMove"Mayost Sharon" <sharon@xxxxxxxxx>
Re: Event MouseMoveGianluigi <gradobag@xxxxxxxxxxx>
Re: Event MouseMoveGianluigi <gradobag@xxxxxxxxxxx>