Modal Custom Form

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

Modal Custom Form
 
Javier Limones




Posts: 3
Joined: 2019-01-10
Hi. I am new to Add-In Express. I am trying to create an add in that requires the user to login to another system....

I have created a form using the adxOIFormsManager. When the user clicks on a button, I try to instantiate the form, but when I display it, it locks Outlook:

FrmLogin oDlg = new FrmLogin(m_StationConfig);
if (oDlg.ShowDialog() == DialogResult.OK)
{
}

Any help or sample would be appreciated it.
Posted 10 Jan, 2019 10:32:39 Top
Andrei Smolin


Add-in Express team


Posts: 18793
Joined: 2006-05-11
Hello Javier,

Panes are used differently: they are created by the forms manager, not by you. The manager creates a form instance and, when it is suitable, embeds the form in the Outlook window. As you can see, this description doesn't foresee creating an ADXOlForm modally.

You can create a UserControl providing controls for the user to login and show that UserControl (multiple instances of it) on all instances of your ADXOlForm. When the user logs in, you can scan all instances of the ADXOlForm and show another UserControl on them; the UserControl provides access to the functionality of your add-in.


Andrei Smolin
Add-in Express Team Leader
Posted 10 Jan, 2019 10:55:12 Top
Javier Limones




Posts: 3
Joined: 2019-01-10
Thanks!
Posted 10 Jan, 2019 11:24:24 Top