I’m having a bit of a problem with the notebook page changed event. I
would like to have a page change trigger a refresh of data for the page
that is currently selected (the one that’s been changed to).
In each of the notebook pages, I’ve added a panel that has an object
associated with it, and on a page changed event, I’d like each panel to
check if it’s currently the one that’s visible. The problem that I’m
finding is that the panel that thinks it’s visible is the one that we
just came from, not the one in the panel that we changed to.
Should the evt_notebook_page_changed event fire after we’ve changed to
the new page and it is visible?