[EMAIL PROTECTED] wrote:
> I want to refresh when the page is activated. Just putting the overrided
> update statement fires for all pages even if not visible.
Ok, in that case bind to the PageEnter event if your page is a subclass
of dPage, otherwise bind to the pageframe's PageChanged event, e.g.
(untested):
class WtPgf(dabo.ui.dPageFrameNoTabs):
def onPageChanged(self, evt):
# depending on what you are doing, one or the other of these
# is what you want:
self.SelectedPage.update()
self.SelectedPage.refresh()
--
pkm ~ http://paulmcnett.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]