Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: CommandBarComboBox problem: Text lost when combo box lost focus

Geek News

CommandBarComboBox problem: Text lost when combo box lost focus
"Digambar Borse" <digambar_borse[ at ]persistent.co.in> 1/16/2007 9:47:42 AM
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?




--
Regards,
Digambar Borse


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net