Excel task pane opens after switching to backstage view

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

Excel task pane opens after switching to backstage view
 
Marcel Mrozinski




Posts: 12
Joined: 2019-10-28
Hi everybody,
I have created an excel task pane with version 9.4.4644 of ADX. If the user closes the task pane via the X button and then switches to the Backstage view (for example, after clicking on 'File'), the task pane is then visible again in Excel. Is there a way to suppress this behavior?

With best regards,
Marcel Mrozinski
Posted 28 Oct, 2019 09:41:17 Top
Andrei Smolin


Add-in Express team


Posts: 18828
Joined: 2006-05-11
Hello Marcel,

Add-in Express creates a pane whenever the context matches the pane settings. To prevent a pane from being shown you set {ADX task pane class}.Visible = false in the ADXBeforeTaskPaneShow event. In your case, you should set a flag when the ADXCloseButtonClick event is raised and check this flag in the ADXBeforeTaskPaneShow event to set Visible to true or false.


Andrei Smolin
Add-in Express Team Leader
Posted 29 Oct, 2019 04:25:45 Top
Marcel Mrozinski




Posts: 12
Joined: 2019-10-28
Hi Andrei,
that did the trick, thank you!

With best regards,
Marcel Mrozinski
Posted 04 Nov, 2019 07:48:56 Top
Andrei Smolin


Add-in Express team


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


Andrei Smolin
Add-in Express Team Leader
Posted 04 Nov, 2019 07:51:12 Top