Compose Page vs. Read Page

  • Thread starter David Van Geest via OfficeKB.com
  • Start date
D

David Van Geest via OfficeKB.com

I have an Outlook 2003 form that has both a Compose Page and a Read Page.
In the VBScript behind the form, how to I tell if the Compose Page or the
Read Page is the active page? I've searched the object model but I can't
seem to find a property that would give me this information.
 
R

Ron Neville

David,

The Compose Page is what people see when they create the email or first
open the form. The Read Page is what people see when they receive the
email. You don’t have to reference the active page. Your VBScript
works on both so your names need to be unique.


*** Sent via Developersdex http://www.developersdex.com ***
 
D

David Van Geest via OfficeKB.com

Ron, are you saying that the page names need to be unique or the component
names need to be unique?
 
S

Sue Mosher [MVP-Outlook]

IMO, that's the hard way, because it means you can't just copy and paste controls between layouts. Instead, I simply check the state of the item. See http://www.outlookcode.com/codedetail.aspx?id=32 for sample code.

Also note: The newsgroup interface you are using apparently does not quote earlier messages in the thread, making your latest message so short on detail that you risk not getting the answer you're looking for. Please take the time to quote the original message.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top