Accessing Controls on Region Forms in Outlook Addins?

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

Accessing Controls on Region Forms in Outlook Addins?
How do you access windows controls on ADXForms from code in the ADXModule or other locations in an app 
This forum has moved to a new location. From now on, please post all your questions about Add-in Express Regions on .NET and VSTO forum.
Joyce Cooper




Posts: 4
Joined: 2011-06-09
How do you access windows controls on ADXForms from code in the ADXModule or other locations in an app?

Do you use a delegate if can you show and example of accessing a control on a region form from the addin Modle or some other location in the addin - it other threads? :?:
Posted 09 Jun, 2011 15:43:29 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Joyce,

Please take a look at the similar forum thread. Is it what you are looking for?
.NET, Extended MAPI, Windows Phone & RT
Posted 10 Jun, 2011 02:56:38 Top
Joyce Cooper




Posts: 4
Joined: 2011-06-09
This tells me how to identify a form that is a region but how does one access the controls on that reqion? Support I place a progress bar control on a region how do I update the value of that control from elsewhere in the addin? :?:
Posted 21 Jun, 2011 12:50:15 Top
Andrei Smolin


Add-in Express team


Posts: 14094
Joined: 2006-05-11
Hi Joyce,

Get the correct form (ADXOlForm), cast it to the form type used in your project (MyAddin1.MyOutlookForm1) and modify the progress bar either directly (if it has appropriate visibility) or using a public method defined in the form.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 22 Jun, 2011 05:46:49 Top