I have a multipage object. My primary OK/Help buttons are outside the multipage. Currently I do error checking on the contents of each page when the user clicks OK, and return them to the page and object which has an error. I would also like to be able to do this when the user changes pages. For example, if the user finishes filling out "page 1" and then clicks on the tab for "page 2", I want to check the validity of "page 1" then and send them back to "page 1" if there is an error.
One can detect page changes via MultiPage.Change(). Note that MultiPage.Value= also calls MultiPage.Change. Thus one cannot set MultiPage.Value inside MultiPage.Change(). Doing so causes the active tab to reflect the chosen .Value, but the page contents will not change.
Anyone out there have a trick for doing this?