Keypress and OLKCombobox on form region

S

shubhangi

hi
I've adjoined form region to compose message.On the form region I've placed
2 comboboxes(OLKComboboxes) & handling their keypress event in VSTO Add In.
In one scenario ,I need to set keyascii=0 ,but though in keypress event
I set keyascii= 0 ,still the char being pressed is displayed in combobox.
I also tried to set combobox text="" in keypress event but invain.
Keypress event also doesn't get fired when ENter key is pressed.
Is there any way to discard the char pressed & modify the text in combobox
in keypress event?

Thanks
-shubhangi
 
K

Ken Slovak - [MVP - Outlook]

I'm not sure that anything much other than a Change event is really a valid
way of handling an OLKCombo.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top