access appointmentItem from ribbon menu

H

Heinz Schmidt

Hi Ng,

i have added a ribbon to a appointmentitem with one button.
Now i try to access the appointmentitem properties on the click event of the
button.

Where i can find the reference to the appointmentItem which is containing
the button?

thx a lot

Heinz
 
K

Ken Slovak - [MVP - Outlook]

The context property of the control passed to the callback (say onAction) is
the Inspector. Cast that to an Inspector object and then use
Inspector.CurrentItem to get to the item and its properties.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top