Minimized Ribbon changes event order

K

Keith D

I've created an Add-In that contains a button and an editbox. There are other
controls in the group.

When the button is clicked, it will read the value from the editbox and use
it to perform an action.

This works fine while the ribbon is not minimized. However, when "Minimize
the Ribbon" is checked, the new value in the edit box cannot be seen by the
button event handler.

I added a TextChanged event to the editbox to confirm this. When the ribbon
is not minimized the events are EditBoxTextChanged then ButtonClicked. When
the ribbon IS minimized, the events are reversed - ButtonClicked then
EditBoxTextChanged.

The button event does not see the current contents of the EditBox.

Is there a setting I'm not aware of or logic I need to handle a minimized
ribbon?

Thanks,
Keith D
 

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