Le 22/12/2013 22:08, Benoît Minisini a écrit : > Le 22/12/2013 22:04, richard terry a écrit : >> Hi Benoit. >> >> I've noticed (infrequently) that if a dialog box is being called by >> clicking a button and my computer is busy doing other stuff chewing up >> the cpu and the user (me) doesn't get a response to the button that I >> just pressed and I press it again, gambas crashes into the IDE saying >> the dialog box is already displayed (when in fact it hasn't come up yet >> on the gui). This has been a long-standing intermittent bug for me in >> 3.4 and now 3.5.1. >> >> Any solution to this bar putting a catch in all subroutines showing >> dialog boxes or disabling the button being pressed as soon as one >> clicks it? >> >> Regards >> >> richard >> > > Is it with gb.gtk or gb.qt4? >
Can you provide a piece of the source code so that I can see how you display your dialog box: what you describe is possible only if the event loop is called during the button click event handler. -- Benoît Minisini ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user