PC Review


Reply
Thread Tools Rate Thread

access appointmentItem from ribbon menu

 
 
Heinz Schmidt
Guest
Posts: n/a
 
      16th Jun 2009
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

 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      16th Jun 2009
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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Heinz Schmidt" <(E-Mail Removed)> wrote in message
news:uaWz%(E-Mail Removed)...
> 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


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IDBE Ribbon Creator for Access 2007 ribbon customization dbguyatlanta Microsoft Access 8 1st Mar 2011 11:59 PM
Redemption access AppointmentItem Label from outlook entvex Microsoft Outlook VBA Programming 6 13th Apr 2010 12:01 PM
Modify add-in menu in access 2007 belwo the ribbon nazard99@gmail.com Microsoft Access 0 19th Nov 2008 12:42 AM
Access 2007 style ribbon menu in Access 2003 =?Utf-8?B?TmV2aWxsZVQ=?= Microsoft Access 0 6th May 2007 09:06 AM
How to add a menu item to AppointmentItem's right-click menu? =?Utf-8?B?T2N0b3B1c1RodQ==?= Microsoft Outlook Program Addins 5 25th Jan 2007 06:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:07 PM.