TListBox - OnClick is being called when navigating from keyboard lazarus / 31-LCL ---------------------------------------------------------------------- stoffman · 2021-01-02 20:43 On Windows 10, Lazarus 2.0.10 the TListBox OnClick event is being called when the user navigates with the keyboard (PgUp, PgDown or the arrows) I don't know if this is a bug. But it is very unintuitive.  Is that intended behavior? ---------------------------------------------------------------------- lucamar · 2021-01-02 21:09 Quote from: stoffman on January 02, 2021, 09:43:36 pmIs that intended behavior?No, it isn't unless the property ClickOnSelChange is set to True. Otherwise it should call only OnSelectionChange. At less that's how it behaves in Linux-gtk ... ---------------------------------------------------------------------- jamie · 2021-01-02 21:23 You should be lucking that LCL has that property because I just looked old and recent Delphi and you can't shut that feature off. Well, I could if I were to just override the Notify message in Delphi but you really shouldn't need that either..