Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How to access PageFrames/Pages
I have code in the Activate event of my pages, but am now finding that I want this in EVERY page. (Code just does a refresh and sets focus etc)
My next idea was to set upa Method, in my Base Form class, and then just put in a command to run this method from the Page .activate event. I tried the following, which does not work:
thisform.MyPageActivate(this)
..MyPageActivate is the methid I have setup in my Base form
..this is the parameter I am trying to pass which I think should be the current page, but I am sure this syntax is incorrect.. I want to pass the current page in my current PageFrame in my current Form to my Form method --> (MyPageActivate)
regards,
Gerard
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement