[Lazarus] Filling ListBox without triggering OnSelectionChange

Howard Page-Clark hdpc at talktalk.net
Wed Jan 7 10:32:13 CET 2015


On 07/01/2015 06:49, Marc Santhoff wrote:
> Hi,
>
> it has been a very long time since I've programmed GUIs. I have
> forgotten how to fill a ListBox without having the event handler
> OnSelectionChange executed.
> How can it be done?

ListBox1.Items.Assign(someStringlist);

does not trigger the OnSelectionChange event.

Howard


---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com





More information about the Lazarus mailing list