[Gambas-user] Does ListBox ''_MouseDown()" Event work ?

Gianluigi gradobag at gradobag.it
Sat Dec 9 11:50:35 CET 2023


Il 09/12/23 10:45, Claus Dietrich ha scritto:
> >/Le 08/12/2023 à 14:06, T Lee Davidson a écrit : />/> On 12/7/23 20:13, vuott--- via User wrote: />/>> Hello, />/>> the ListBox ''_MouseDown()" Event does not work for me. />/>> />/>> />/>> [System] />/>> Gambas=3.18.90 38b49c0 (master) />/> [snip] />/> />/> The issue exists with v3.18.4 as well. Interestingly, a double-click />/> triggers the MouseDown event with both Qt5 and GTK3. />/> />//>/Compound non-native controls usually eat some of the low-level events. />//>/You should normally never try to handle low-level events on complex />/controls. />//>/Regards, />//>/-- />/Benoît Minisini. This reply made me curious and I would be grateful 
> if somebody can provide some background and help me to understand: 
> What are possible reasons that non-native controls "eat some of the 
> low evel events"? Why should I never try to use events which are a 
> documented capability of a control? Shall I regard it as normal that I 
> can only access an event if I add additional code as proposed by 
> Bruce? I am asking this, because I program controls myself (beginner 
> level) and so far didn't have the experience, that events fail - 
> unless I forgot to raise them. Best regards Claus /
>
> ----[http://gambaswiki.org/wiki/doc/netiquette  ]----

Hi Claus,

you're not the only one who was baffled by Benoit's response.

We discussed this with other users of the Italian forum and like you we 
are all curious.

With best regards

Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231209/00d954dd/attachment.htm>


More information about the User mailing list