What is the differences between OnConnect and OnTabCreated?

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

What is the differences between OnConnect and OnTabCreated?
 
Omri Suissa


Guest


If a new module is created of each tab then both OnConnect and OnTabCreated will be called, so what we need both?
(the same question goes for OnDisconnect and OnTabClosed and for new window event)

Thanks,
Omri
Posted 17 Oct, 2011 02:37:13 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Omri,

OnConnect fires when IE loads the add-on. And OnTabCreated fires after the tab has already been created.
You can use any event which you like.
Posted 17 Oct, 2011 09:49:34 Top
Omri Suissa


Guest


Thank you
Posted 17 Oct, 2011 10:55:21 Top