How to auto scroll down in ListView control when update new item?
I have tried
listView1.Focus();
listView1.Items[listView1.Items.Count - 1].Selected = true;
but this not working.
How to auto scroll down in ListView control when update new item?
I have tried
listView1.Focus();
listView1.Items[listView1.Items.Count - 1].Selected = true;
but this not working.
old fashioned solution:
ListView1.SetFocus;
PostMessage(ListView1.Handle, WM_KEYDOWN, VK_DOWN, 0);
Another possible solution:
listview1.TopItem = listView1.Items[listView1.Items.Count - 1];
maybe
listView1.Items[listView1.Items.Count - 1].Selected = false;
listView1.Items[listView1.Items.Count - 1].Selected = true;