When adding items to a ListBox, there comes a time that the last added item is not
visible anymore.
Solution: with the following line of code, the ListBox will display all of the LAST items
that fit into the box, with the very last item at the bottom:
ListBox1.TopIndex := ListBox1.Items.Count - 1;
|
|