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?
 
wmgroup


Guest


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: 18830
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


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


Guest


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: 18830
Joined: 2006-05-11
You can use a Boolean flag that the add-in can check whenever the ADXOlForm is about to be shown.


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