Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

How to scroll to bottom of ListBox

int visibleItems = listBox.ClientSize.Height / listBox.ItemHeight;
listBox.TopIndex = Math.Max(listBox.Items.Count - visibleItems + 1, 0);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #scroll #bottom #ListBox
ADD COMMENT
Topic
Name
4+7 =