[Gambas-user] Slider problem?
Benoît Minisini
gambas at ...1...
Fri Sep 11 21:44:45 CEST 2009
> 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
More information about the User
mailing list