Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / October 2007

Tip: Looking for answers? Try searching our database.

Edit Read Page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
prog - 25 Oct 2007 15:06 GMT
Hi,

I'm trying to do something really simple and was wondering if it's possible
on the edit read page.  I have some code that basically initiates once the
read page is opened up on the recipient end.  
I have a textbox and a commandbutton.  I'm trying to set the textbox to
(enabled=false), so that it dims when I click the commandbutton.  This
doesn't seem to work on the Edit Read Page for some reason.  Is it possible
to do this on the read page?  Thanks.
Sue Mosher [MVP-Outlook] - 25 Oct 2007 15:33 GMT
You would need to publish the form on the Exchange server's Organizational Forms library, with the "send form definition with item" box on the form's (Properties) page unchecked. Otherwise, code will not run on received items.

Signature

Sue Mosher, Outlook MVP
  Author of Microsoft Outlook 2007 Programming:
    Jumpstart for Power Users and Administrators
   http://www.outlookcode.com/article.aspx?id=54

> Hi,
>
[quoted text clipped - 5 lines]
> doesn't seem to work on the Edit Read Page for some reason.  Is it possible
> to do this on the read page?  Thanks.
prog - 31 Oct 2007 14:51 GMT
Ok. I have it published and the box seems to be working correctly.  Now I ran
into another problem.  I have a button next to that text box that locks the
textbox and that works fine, until they save the form and open it again, then
the box looses its "locked" status or (enabled=false).  Any ideas on what I
could possibly do to fix this?  Any help is appreciated.

> You would need to publish the form on the Exchange server's Organizational Forms library, with the "send form definition with item" box on the form's (Properties) page unchecked. Otherwise, code will not run on received items.
>
[quoted text clipped - 7 lines]
> > doesn't seem to work on the Edit Read Page for some reason.  Is it possible
> > to do this on the read page?  Thanks.
Sue Mosher [MVP-Outlook] - 31 Oct 2007 15:25 GMT
Any changes you make to the UI at run time are discarded when the item is closed. You would need to make those same UI changes when the user opens the item again. Use a custom property to store information about the control's state, then use the Item_Open event handler to read that property value and make the necessary UI change.

Signature

Sue Mosher, Outlook MVP
  Author of Microsoft Outlook 2007 Programming:
    Jumpstart for Power Users and Administrators
   http://www.outlookcode.com/article.aspx?id=54

> Ok. I have it published and the box seems to be working correctly.  Now I ran
> into another problem.  I have a button next to that text box that locks the
[quoted text clipped - 3 lines]
>
>> You would need to publish the form on the Exchange server's Organizational Forms library, with the "send form definition with item" box on the form's (Properties) page unchecked. Otherwise, code will not run on received items.

>> > Hi,
>> >
[quoted text clipped - 5 lines]
>> > doesn't seem to work on the Edit Read Page for some reason.  Is it possible
>> > to do this on the read page?  Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.