Keypress and OLKCombobox on form region

  • Thread starter Thread starter shubhangi
  • Start date Start date
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
 
I'm not sure that anything much other than a Change event is really a valid
way of handling an OLKCombo.
 
Back
Top