Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing objects when switching tabbed pageframes
Message
De
02/12/1997 23:45:09
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00063501
Message ID:
00063503
Vues:
46
>Help!
>
>I have a form with 2 tabbed pageframes on it. one contains a grid based on a table,
>and the other a detail screen of the fields for the selected record in that grid.
>For a variety of reasons, I'm clinging onto the scatter memvar variables as the
>controlsource of the detail page's objects.
>
>This is the problem...
>Clicking on the Detail tab produces the right values in these objects. Programatically
>changing them (the result of pressing a button) does not. Clicking on the individual fields
>produces the correct values.
>This is in spite of Thisform.Refresh on activation of the page.
>P.S. I am activating the page with .....pagMyPage.SetFocus.

Try a This.Refresh() in the Activate of the page.

BTW, the "ortodox" way of activating a page is to use the ActivePage property of the PageFrame.

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform