Does defaultregionstate work for forms in outlook?

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

Does defaultregionstate work for forms in outlook?
 
Subscribe
wmgroup




Posts: 26
Joined: 2010-04-23
no matter what I set it to in forms manager it is always visible. I want form hidden at startup
Posted 15 Apr, 2019 15:52:54 Top
Andrei Smolin


Add-in Express team


Posts: 15821
Joined: 2006-05-11
Hello,

You set {your form}.Visible=false in one of these events:

Table 2. Events that occur before a form instance is embedded into a subpane.
Application <Form> type Event
Excel ADXExcelTaskPane ADXBeforeTaskPaneShow
Outlook ADXOlForm ADXBeforeFormShow
PowerPoint ADXPowerPointTaskPane ADXBeforeTaskPaneShow
Word ADXWordTaskPane ADXBeforeTaskPaneShow

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 16 Apr, 2019 05:08:26 Top
wmgroup




Posts: 26
Joined: 2010-04-23
Thanks that will work and I can get it to open when they click the button in toolbar but how would I get the form to show when they doubleclick to open an email in inspector?
Posted 16 Apr, 2019 09:03:53 Top
Andrei Smolin


Add-in Express team


Posts: 15821
Joined: 2006-05-11
You can use a Boolean flag that the add-in can check whenever the ADXOlForm is about to be shown.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 16 Apr, 2019 09:59:13 Top