Events ItemLoad

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

Events ItemLoad
Events ItemLoad 
Karim




Posts: 164
Joined: 2006-01-02
Hi,

I do not understand the use of the event ItemLoad
Everything works well when I pass on an element once but it does not release anymore if I go back to the item



procedure TAddInModule.adxOutlookAppEventsItemLoad(ASender: TObject;
  const Item: IDispatch);
begin
    showmessage('ItemLoad');
end;
Posted 01 Mar, 2018 11:40:08 Top
Andrei Smolin


Add-in Express team


Posts: 15094
Joined: 2006-05-11
Hello Karim,

This event occurs on an early stage, before an Outlook item is opened in an inspector or shown in the Reading Pane. The event provides a reference to an almost uninitialized item object; you use the reference to connect to the events of the item. Please find more details at https://msdn.microsoft.com/en-us/VBA/Outlook-VBA/articles/application-itemload-event-outlook.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 02 Mar, 2018 04:16:56 Top