access appointmentItem from ribbon menu

  • Thread starter Thread starter Heinz Schmidt
  • Start date Start date
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
 
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.
 
Back
Top