Re: SetFocus!

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"Arpan" <arpan_de@xxxxxxxxxxx> wrote in message
news:1128695676.999279.242310@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> For e.g. when "5" gets added to the ListBox, "5" should be
> highlighted/selected. Next when "2" gets added to the ListBox
> (below "5"), "2" should be highlighted/selected.
> How do I do this?

' List1.AddItem( "2" )
List1.ListIndex = List1.NewIndex

HTH,
Phill W.


.