CommandBarComboBox problem: Text lost when combo box lost focus

D

Digambar Borse

Hello All,

I'm creating a toolbar as Add-in to outlook. I have a
textbox(CommandBarComboBox with ControlType = msoControlEdit) object & a
command button on the toolbar. I am use the text from textbox when button is
clicked. My problem is when I write something in textbox, then change the
cursor location another place(click somewhere outside textbox ) or click on
button, the text has been lost.



But after writing, if I press "ENTER", text doesn't lost and
its change event is fired .If I press "TAB" ,focus set to button of my
toolbar & text doesn't lost , but if I clicked somewhere else the change
event is fired. Is it normal behavior of textbox?



I want same action is taken by textbox when I press "ENTER" or
click button.



Have you know any solution?
 

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