[Lazarus] TCombobox major failure :(

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jul 17 08:20:26 CEST 2008


On Wed, 16 Jul 2008 21:56:59 -0300
Luiz Americo Pereira Camara <luizmed at oi.com.br> wrote:

> Luiz Americo Pereira Camara wrote:
> > Mattias Gaertner wrote:
> >   
> >> It seems, there are no objections. Will you do it?
> >>   
> >>     
> >
> > Yes.
> >   
> 
> I managed to get the discussed behavior with Gtk1, Gtk2, Win32, but 
> before submitting a patch i'd like to discuss more two issues found:
> 
> - Win32, gtk1, gtk2 does not fires OnChange after Text is changed 
> through code. Qt does. It's possible to get this behavior in these 
> widgetsets. What do you think?

I think, that would be too Delphi incompatible.


> - After an item is deleted the ItemIndex is set to -1 and no event is 
> fired under win32. Under Gtk1, Gtk2, Qt the next item is selected and 
> the OnSelect/Change are fired. What path to follow?

The Delphi way. Unless it is too complicated to implement. But we just
need to ignore events during a pascal operation, so it is easy, isn't
it?


Mattias



More information about the Lazarus mailing list