Updating TaskPane title at runtime

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

Updating TaskPane title at runtime
 
OliverM


Guest


I allow my users to change the UI language at run-time. The issue I come across here is updating the title of a standard task pane. In the VS local window I can see the new title is correctly set but the the control refuses to show the title unless the pane is closed and re-opened in a different window.
Posted 10 Apr, 2018 04:51:05 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hello Oliver,

OliverM writes:
The issue I come across here is updating the title of a standard task pane.


Do you talk about a CTP?


Andrei Smolin
Add-in Express Team Leader
Posted 10 Apr, 2018 08:09:17 Top
OliverM


Guest


Hi Andrei,

Yes, I am trying to change the title of a CTP.
Posted 10 Apr, 2018 08:16:46 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
This is impossible. At https://msdn.microsoft.com/en-us/vba/office-shared-vba/articles/customtaskpane-title-property-office, they wrote: This property is set once at creation.


Andrei Smolin
Add-in Express Team Leader
Posted 10 Apr, 2018 08:34:23 Top
OliverM


Guest


Is there a way to delete and re-create the pane?
I found https://msdn.microsoft.com/de-de/vba/office-shared-vba/articles/customtaskpane-delete-method-office but do not know how to cast to the interface.
Posted 10 Apr, 2018 09:04:56 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hello Oliver,

Although it should be possible to call that method, Add-in Express isn't prepared to this and this may cause other issues. Add-in Express doesn't provide a way to create a custom task pane on the fly. We will consider adding this feature in Add-in Express 9.1.


Andrei Smolin
Add-in Express Team Leader
Posted 11 Apr, 2018 06:25:48 Top
OliverM


Guest


Hi Andrei,

Thanks for clarifying. Any idea when 9.1 might go live?
Posted 12 Apr, 2018 03:40:29 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hello Oliver,

In the second half of the year.


Andrei Smolin
Add-in Express Team Leader
Posted 12 Apr, 2018 10:13:33 Top