[Lazarus] TCombobox major failure :(

Luiz Americo Pereira Camara luizmed at oi.com.br
Fri Jul 18 04:23:16 CEST 2008


Mattias Gaertner wrote:
> 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.
>
>
>   
Ok
>> - 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?
>   
I think is possible.

Luiz




More information about the Lazarus mailing list