[Gambas-user] mouse
Bruce
adamnt42 at gmail.com
Thu Apr 30 12:06:15 CEST 2020
On 30/4/20 7:15 pm, Mike Crean via User wrote:
> Hi all I am tryingto catch a mouse event when inside a PictureBox Child when the LEFTMOUSE button ispressed. I can’t for the life of me see the answer and it is probablystaringme in the face.
>
>
>
> Public SubTimer1_Timer()
>
I have to ask, why are you using a timer? Timers know nothing about mices.
Apart from that, what do you mean by a PictureBox Child?
Apart from that, even though a PictureBox has no Click event, you can
fake it using the MouseUp event. From memory, the MouseUp event does
know about the state of the mouse.
hth
b
More information about the User
mailing list