adxRibbonComboBox - Updateproblem

Add-in Express™ Support Service
That's what is more important than anything else

adxRibbonComboBox - Updateproblem
 
BerndH




Posts: 99
Joined: 2014-09-23
I have a ribbon (in Outlook) with some labels, textboxes and comboboxes.

In "adxOutlookEvents_NewInspector"

- I fill the comboboxes with values.
- I set a value as default
- I clear the textboxes

If I write a new mail, the comboxbox shows the correct value witch I use as default. I put some data in the textboxes and I change the combo box value.

After sending the mail and creating a new one (the NewInspectorEvent is fired again), the textboxes are correct empty, but the combobox shows my changed data from the last sended mail not my default value I set in the NewInspectorEvent.

Can you give me a hint ?!

Bernd
Posted 26 Oct, 2021 14:44:45 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Bernd,

Use the PropertyChanging event to achieve this; check section Updating custom Ribbon controls at run time; see the PDF file in the folder {Add-in Express}\Docs on your development PC.

Regards from Poland (CEST),

Andrei Smolin
Add-in Express Team Leader
Posted 28 Oct, 2021 02:27:50 Top
BerndH




Posts: 99
Joined: 2014-09-23
Thanks,

I just replaced them with dropdowns ;-)
They work as expected and at this place they make more sense

Bernd
Posted 28 Oct, 2021 03:59:11 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Welcome!

Regards from Poland (CEST),

Andrei Smolin
Add-in Express Team Leader
Posted 28 Oct, 2021 04:03:49 Top