Hi All,
I need to find the closest match in a DataCombo control..
I normally use the SendMessage API for standard combo's, but this doesn't seem to work with data bound combo controls..
Any ideas?
Printable View
Hi All,
I need to find the closest match in a DataCombo control..
I normally use the SendMessage API for standard combo's, but this doesn't seem to work with data bound combo controls..
Any ideas?
Write a generic function that takes some match text, loops through the combo's list, does a compare on each one, and returns the ItemData that matches?
i have really nice code for non data bound :-)
i actualy feel sick just thinking about databound dont that to me again heh
if you decide for non db let me know
for some reason this is really buggy and results in a lot of crashesQuote:
Originally posted by 1 is a prime!
Write a generic function that takes some match text, loops through the combo's list, does a compare on each one, and returns the ItemData that matches?
You have some attitude problem !!! Don't you think ? :DQuote:
Originally posted by stewie
i have really nice code for non data bound :-)
i actualy feel sick just thinking about databound dont that to me again heh
if you decide for non db let me know
Thanks "1 is a prime" but i don't want to loop through, that is why I mentioned the SendMessage API..
Not to worry, I think I am getting there slowly...
I am going to have to use post message, and work out the drop down combination..