Le 16/11/2014 15:31, Wolfgang, dl7nb a écrit : > Hello all, > I have tested with Gambas3.6.2. I placed a simple Progressbar and tried: > > ##### > Public Sub ProgressBar1_Enter() > > Debug "Here we are!" > > End > ##### > > Which worked perfectly. But > > ##### > Public Sub ProgressBar1_MouseDown() > > Debug "Here we are!" > > End > ##### > > did never execute. What went wrong? > > Please help me.... > > Wolf >
It's because ProgressBar has be remade in Gambas, and then you don't automatically get the standard events. Because controls made in Gambas are always embedded into an invisible "UserControl" container. As I didn't think it would be useful to catch events in ProgressBar (which is normally a read-only display control), I didn't enabled them. I will add them, so that things keep being as they were before, but I'm curious why you need to catch mouse events on a ProgressBar! -- Benoît Minisini ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
