> Benoît Minisini schreef: > >> If you disable a Slider, so Slider1.Enabled = FALSE , it still fires > >> it's MouseUp event when clicked. > >> This is not what I expected. Is this expected behaviour? > >> > >> Gambas 2.16.0 gb.qt. > >> > >> Regards, > >> Ron_2nd. > > > > This is not a bug, this is by design. > > > > The bug is in gb.gtk, where mouse events are not raised when Enabled is > > False, and often not raised too when Enabled is True. > > > > Regards, > > Hmm ok, i'm using gb.qt, so because of a bug in gb.gtk you change it's > behaviour too.. > I forgive you if you promise me we don't end up like visual basic ;-) > > Regards, > Ron_2nd. >
I didn't change the behaviour of gb.qt because of gb.gtk. Mouse events must be always raised, whatever the value of the Enabled property. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user