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 / July 2003

Tip: Looking for answers? Try searching our database.

Page switch event?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kevin Gilbert - 24 Jul 2003 22:04 GMT
Is there an event for switching pages on a custom Outlook
form?

I created a multiselect listbox for a custom field on a
contact form, but it doesn't display the multiple
selections if I switch to another page and back again, or
if I close the item and open it again.

I have written an Item_Open event procedure that selects
the chosen values when the item is opened, but when the
user switches to another page and back again the
selections disappear.  The values are still saved, though.

I need to run the same procedure when switching between
the pages.  Is there such an event?

According to Microsoft, the Page object supports the Click
event, but I haven't had any success with that.

Any assistance would be greatly appreciated.  Thanks!
Hollis D. Paul - 25 Jul 2003 17:09 GMT
> I have written an Item_Open event procedure that selects
> the chosen values when the item is opened, but when the
> user switches to another page and back again the
> selections disappear.  The values are still saved, though.

You have to use an unbound listbox to get a click-event, and then use
the handler that you write to save all the selections to fields in the
item.  From there, you need to reload the control every time you open
the page to see it.  As far as I know, there is no event to indicate
which page you are on.

Go to www.slipstick.com and see the page that Sue has put up about
unbound controls.

Hollis D. Paul [MVP - Outlook]
Hollis@outlookbythesound.com
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US
     
Mukilteo, WA  USA
 
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.