« Reply #3 on: November 15, 2022, 01:49:43 pm »
You can set the TopIndex(without selecting an item) or the ItemIndex(with selecting an item) of TListBox
Example:
ListBox1.TopIndex := ListBox1.Count - 1; // this is without selecting an item
ListBox1.ItemIndex := ListBox1.Count - 1; // this is with selecting the last item
Logged
Jan
Delphi XE6, Lazarus 2.2.4, Visual Studio, Eclipse
Platforms: Ubuntu 22.10, Windows 7, 10
Progarmming languages: Pascal, C, C++, C#, Java