Listbox: How to ensure that last item added is visible?
Managed C++/CLI
5
Posts
3
Posters
0
Views
1
Watching
-
I'm sure this is simple, i'm just not seeing it. I'm not having any luck trying to figure out how to have my listbox autoscroll to the last item in the list when a new item is added.
-
I am using Visual Studio.net 2003; and I don't see anything that looks like setHotItem. ???
-
I'm sure this is simple, i'm just not seeing it. I'm not having any luck trying to figure out how to have my listbox autoscroll to the last item in the list when a new item is added.
-
Hai, u can simply solve the problem by selecting the last item. ie this->listBox1->SelectedIndex=this->listBox1->Items->Count-1;; ANish