[Lazarus] TCombobox major failure :(

Luiz Americo Pereira Camara luizmed at oi.com.br
Tue Jul 22 22:34:25 CEST 2008


Luiz Americo Pereira Camara wrote:
> Mattias Gaertner wrote:
>   
>   
>> I fixed that. Please review. 15831.
>>   
>>     
>
> Seems OK. I tested with a clean repository under win32. Later i will 
> test the gtk side.
>   

I found more issues.


The attached patch does the following

- Toggle selection mode in places where it was missing. Avoid items 
being deselected after clicking twice [gtk1]
- Updates the Index cache after Delete/Clear/Insert. OnSelect was not 
being called after clicking in the previous selected index [gtk1/2]
- When Combo is read only, set Index to -1 and Text to '' if Text is 
changed with a value not found in the list [gtk1]
- Move gtk1/combo routines to WS class

Bug 7741 and 8463 can be closed.
7204 needs to test in OSX

The next step is to ensure that only the widgetinfo of the main control 
is used, so is not needed to allocate the widgetinfo for the child widgets.

Luiz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtkcombo_part2.zip
Type: application/zip
Size: 3553 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20080722/07356aec/attachment-0007.zip>


More information about the Lazarus mailing list