Click here to Skip to main content
14,643,812 members
Rate this:
Please Sign up or sign in to vote.
See more:
How to show list of items in combobox by comparing combobox. Text property comparing any charater in list
for ex
if there is an item "vivo 51" and combobox.Text= 5 then show
the item in combobox drop-down list

What I have tried:

Findstring only show the item by comparing first character not middle characters
Posted
Updated 15-Jun-20 6:11am
Comments
Richard MacCutchan 15-Jun-20 4:38am
   
You need to read each item and see if it contains the search character.

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

You can use the FindStringExact method or the CB_FINDSTRINGEXACT message to do this.
   
Comments
lalit agrawal 20-Jun-20 5:27am
   
I already used that. It shows data by comparing from starting character but not show any list by compare with middle characters

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100