Joeri Sebrechts
Posts: 7
Joined: 2007-07-31
|
I'm running up against a bug in Outlook 2003 / Outlook 2007 (not 2010), and am wondering if anyone knows a solution.
I have an add-in that embeds a form region as inspector region into the appointment inspector. In this inspector region I need to fetch and show the subject from the appointment.
The bug:
1. Launch the appointment window for a new appointment
2. Activate the inspector region, it fetches the subject and shows it (empty subject)
3. Activate the standard appointment view again (showing subject, description, ...)
4. Place the focus in the subject field and enter a subject, leave the focus in this field
5. Activate the inspector region, it fetches the old subject, not the new subject --> bug
I can solve this by clicking outside of the subject field after typing, and only then activating the inspector region, but I would like a solution in code.
Any ideas? |
|
Andrei Smolin
Add-in Express team
Posts: 18825
Joined: 2006-05-11
|
Hello Joeri,
The issue occurs because Outlook sets Inspector.CurrentItem.Subject AFTER you move the focus off the Subject field.
Try to save the appointment when the region gets focused.
Andrei Smolin
Add-in Express Team Leader |
|