View Single Post
  #8  
Old September 2nd 08, 07:22 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Displaying custom fields

What event are you using? In other words, when are you trying to modify those
control properties?

Also, for a bound control, you should change the underlying Outlook property
value, not the control value.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"Doobs" wrote:

Thanks Sue. I'm using a form region now, as described in the
walkthrough, and i have the "Hello World" type example working fine.

What I can't manage to work out is how to modify the controls on the
form region from within my main addin code. I'm working in c# by the
way.

All I want to do is change the caption of a label field or the text of
a textbox, but I don't seem to be able to reference these controls
from my addin code. I must be missing something in the examples.

On Sep 1, 9:18 pm, Sue Mosher [MVP-Outlook]
wrote:
Outlook 2007's new forms region feature would be a good fit with what you're
add-in is doing so far. Seehttp://www.outlookcode.com/news.aspx?id=22to get
started.


Ads