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

Claus Dietrich claus.dietrich at freenet.de
Sat Dec 9 10:45:36 CET 2023


>/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 /
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231209/f78bf0d3/attachment.htm>


More information about the User mailing list