View Single Post
  #9  
Old September 5th 08, 03:40 PM posted to microsoft.public.outlook.program_addins
Doobs
external usenet poster
 
Posts: 3
Default Displaying custom fields

I'm trying to edit the controls on form load, i've set the custom
properties on the mails as i've created them in the fodler, and I
simply want to display them when the user opens the mail.

I'll have a look at the underlying property, as you suggest. Thanks.

On 2 Sep, 19:22, Sue Mosher [MVP-Outlook]
wrote:
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=22toget
started.


Ads