On Fr, 2015-01-09 at 13:31 +0100, Bart wrote: > 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.
I see. > Filed a bugreport about it: http://bugs.freepascal.org/view.php?id=27276 Thank you! -- Marc Santhoff <[email protected]> -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
