Hi Gerard
In the form method, you can reference the currently active page in the page frame by using the syntax:
THISFORM.PageFrame.ActivePage
Activepage is a property of the pageframe that points to the currently active page. You can also get at all of the controls contained on that page via this syntax as well.
>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