Delphi 5 Select ListBox and FileListBox Programmatically

If you need to programmatically select an item in a ListBox from code in Delphi 5. There is probably another easier way to do it with newer version of Delphi, but I have to maintain a program written in Delphi 5. So, here’s how you do it.   ListBox1.ItemIndex := 2; {This selects a specified …

Delphi 5 Select ListBox and FileListBox Programmatically Read More »