How to quickly select an item in a listbox

esposito

Centurion
Joined
Jul 11, 2003
Messages
103
Location
Perugia - Italy
Hello, I'm a newbie in VB.NET. I would like to know if it is possible to select an item in a listbox by typing in its first letters in a textbox.

I would like to do so without calling the Windows API in order to guarantee the future compatibility of my software with any other operating systems supporting the .NET framework (I know Linux is the only one for the moment).

Do you know whether it is possible to refer to the framework API, instead of the Windows one, to get such a function?

TIA.
 
Re: Re: How to quickly select an item in a listbox

I found out it is perfectly possible. The magic word is,

lstRecord.FindString(StringToSearch)

Thanks anyway.

Nightyhawk said:
Not that I know of. I will see about that one. Sorry...
 
Back
Top