Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform.Refresh vs This.Refresh (Container)
Message
 
 
To
01/11/2005 09:20:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01063678
Message ID:
01063978
Views:
14
>>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.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform