Search Tools Links Login

Search a Listbox


Visual Basic 6, or VB Classic

Search listbox for a string

Public Function ListBoxIndex(ByVal lHwnd As Long, ByVal sSearchText As String) As Long
ListBoxIndex = SendMessageAny(lHwnd, LB_FINDSTRING, -1, ByVal sSearchText)
End Function

About this post

Posted: 2020-08-30
By: vb6boy
Viewed: 228 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.