Hi,

In GTK 1, the TCombobox somehow looses the 'OnChange' event after it was fired
once, but only when the items list is sorted.

Steps to reproduce:
- Drop TCombobox on a new form
- Set items (one two three four five)
- Set Sorted=True  - this is required !!
- Set Style=csDropDownlist (don't know if this is required)
- In OnChange event handler show a message or something like it.
- Run project.
- Select item. Message appears.
- Select another item. Message does not appear.

The event handler is still <> Nil (I added code to check this), 
but is simply never called any more when something is selected.

And in GTK 2 the event handler is always called twice !!

Is this a known issue ? I'm using Lazarus revision 15540.
Should I add it to the bug tracker ? 
Because this is IMHO a major regression...

Michael.
_______________________________________________
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to