>>>Hi All,
>>>
>>>I am having a problem with Refresh method.
>>>
>>>This is the scenario: I have a pageframe containing 6 pages, three of them share the same bizob. Each page has its own container which runs a custom method activate. In that method we have "this.Refresh()". When we press cancel button and switch to the next pages
>>
>>where is the cancel button ?
>>how do you change page?
>>
>>that share the same bizobj, controls on the container are not refreshed and still hold old values. They are being refreshed on the second click. I don't have this behaviour using 'Thisform.Refresh()'.
>>>
>>>Any help would be appreciated.
>>>
>>>Thanks.
>>>
>>>William
>
>The cancel button is on the form itself, that invokes Cancel code from Biz obj which is on one of the pages. We switch pages by clicking on the tabs. Pages have code in their Activate method. Some have code in Deactivate method as well.
hard.
Put this into the Container refresh, look you .T. ?
WAIT WINDOWS THIS.PARENT.PARENT.ActivePage=THIS.PARENT.pageOrder NOWAIT TIMEOUT 10