On 1/9/15, Marc Santhoff <[email protected]> wrote:

> Tried that solution already, but it does not help. There must be
> something special later in the form creation chain, that forces
> selection on the listbox and in turn trigger SelectionChange.

Filling at designtime and setting ItemIndex to -1 also shows this behaviour:
- Itemindex will be 0 at program start
- OnSelectionChange is fired (with User = True).

Only happens on GTK2
QT behaves as expected.

Filed a bugreport about it: http://bugs.freepascal.org/view.php?id=27276

Bart

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to