Page switch event?

  • Thread starter Thread starter Kevin Gilbert
  • Start date Start date
K

Kevin Gilbert

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!
 
Kevin Gilbert said:
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]
(e-mail address removed)
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
 
Back
Top