TylerMorrison
Member
- Joined
- Aug 19, 2011
- Messages
- 7
- Programming Experience
- Beginner
Hi guys, here's what I have. Essentially I have an onscreen keyboard on my form to allow for touch monitors. I have a combo box on the form, and when I hit the buttons that make up the touchscreen keyboard I drop the letter that the button corresponds to in the combo box. However, when I do this, the auto suggest feature doesn't work.
So for example, the combo box is called cbo, its items are:
"Apples"
"Alligators"
"Angels"
"Boys"
"Biscuits"
"Buoys"
"Balloons"
"Cobras"
"Cameras"
"Camel"
When I hit the button that corresponds with the letter c, I currently run the command cbo.text += "c", with checks to see if it it's a capital and other things, but essentially that's it. The combo boxes text now becomes c and that's all that happens. What I would like to happen is for the c to go into the text, which it currently does, but I would then like the box to auto suggest cobras, and for it to drop down and show cobras, cameras, and camel in the list.
The boxes AutoCompleteMode Property is currently set to SuggestAppend and it's AutoCompleteSource is set to ListItems.
Is there an easy way to achieve this? Any help is mucho appreciated.
So for example, the combo box is called cbo, its items are:
"Apples"
"Alligators"
"Angels"
"Boys"
"Biscuits"
"Buoys"
"Balloons"
"Cobras"
"Cameras"
"Camel"
When I hit the button that corresponds with the letter c, I currently run the command cbo.text += "c", with checks to see if it it's a capital and other things, but essentially that's it. The combo boxes text now becomes c and that's all that happens. What I would like to happen is for the c to go into the text, which it currently does, but I would then like the box to auto suggest cobras, and for it to drop down and show cobras, cameras, and camel in the list.
The boxes AutoCompleteMode Property is currently set to SuggestAppend and it's AutoCompleteSource is set to ListItems.
Is there an easy way to achieve this? Any help is mucho appreciated.