|
-
Jan 29th, 2003, 09:47 AM
#1
Thread Starter
Fanatic Member
Finding Match in DATA combo?
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?
Leather Face is comin...
MCSD
-
Jan 29th, 2003, 10:02 AM
#2
Addicted Member
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?
Sent by: Steve Barker
E-mail: [email protected]
P.S. I KNOW 1 is not a prime!
See this thread: http://forums.vb-world.net/showthread.php?threadid=26485
-
Jan 29th, 2003, 10:04 AM
#3
Addicted Member
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
The internet is a great tool. Many people like me suffer in the real world when there are so many people with the "O he is so good looking he has no troubles, why help him out with anything" attitude.
-
Jan 29th, 2003, 10:05 AM
#4
Addicted Member
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?
for some reason this is really buggy and results in a lot of crashes
The internet is a great tool. Many people like me suffer in the real world when there are so many people with the "O he is so good looking he has no troubles, why help him out with anything" attitude.
-
Jan 29th, 2003, 10:07 AM
#5
Let me in ..
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
You have some attitude problem !!! Don't you think ?
-
Jan 29th, 2003, 11:02 AM
#6
Thread Starter
Fanatic Member
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..
Leather Face is comin...
MCSD
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|