Pass data from iemodule class to sidebar form

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

Pass data from iemodule class to sidebar form
Jay Verdoorn

Posts: 1
Joined: 2010-02-26
I'm looking for an example of how to pass data scraped during the documentComplete stage to a TextBox in my sidebar form.

I've successfully pulled the data I want in the IEModule_DocumentComplete method, but I'm just not seeing how to pass it over to my sidebar form.

I'm certain this is a basic question but any help would be hugely appreciated.
Posted 26 Feb, 2010 17:42:57 Top
Andrei Smolin

Add-in Express team

Posts: 14976
Joined: 2006-05-11
Hi Jay,

You use Bars and Toolbars properties to get a collection of <Item> objects (ADXIEBarItem or ADXIEToolBarItem); every <Item> object provides access to an <Obj> property (BarObj or ToolBarObj), which returns an appropriate Add-in Express class type (ADXIEBar or ADXIEToolbar).

(this.Bars[i].BarObj as MyIEAddon1.MyIEBar1).MyPublicMethod(MyData)

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 01 Mar, 2010 03:54:45 Top