Thread: program page 2
View Single Post
  #4  
Old November 4th 06, 03:09 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default program page 2

Design the form so that page 2 is hidden, then put code in the Item_Open event handler to show page 2 when a saved item is opened:

Function Item_Open()
If Item.Size 0 Then
Item.GetInspector.ShowFormPage "Page 2"
End If
End Function
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"armando" wrote in message ups.com...
my form has two pages, in one there is the classical textbox (To,
object....); in the second i would put some custom function in
buttonns, but i wont to use this buttons only in the page of reading.
excuse me for my languages but i'm italian

Ads