[Gambas-user] No event on Button click

T Lee Davidson t.lee.davidson at gmail.com
Wed Feb 19 01:46:55 CET 2020


On 2/18/20 4:54 PM, Gianluigi wrote:
> 
> 
> Il giorno mar 18 feb 2020 alle ore 19:59 Dag Jarle Nerland Johansen - Gambas <gambas at cd-bahia.com <mailto:gambas at cd-bahia.com>> 
> ha scritto:
> 
>     Hi,
>     I have a strange behaviour on a button click.
>     The button is placed on a panel.
>     ...
>     When I click on the button, ...
>     Control_Click does not react,...
> 
> 
> Hi Dag,
> It doesn't happen to me, I think you should attach a test where you show what you write.
> 
> Regards
> Gianluigi
> 

I second that. It is difficult to guess how the code is written.

And, an indication that something's amiss is the fact that Control does not have a Click event.

Are you perhaps creating the button dynamically and giving it a custom event name?
[http://gambaswiki.org/wiki/comp/gb.qt4/button/_new]


-- 
Lee


More information about the User mailing list