Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tip of the Day --- Pageframe and Page Refreshing
Message
De
02/12/1999 14:47:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00297873
Message ID:
00298091
Vues:
39
No I haven't but I will.

>Did you check out my Page Tab Chameleon class in Files Section by any chance? Along with other things it does automatic page refresh when the page is activated.
>
>>I think it's a good general rule; there may be situations where you don't want to do it. For me, I like to encapsulate enabled/disabled states for objects within the object itself based on the environment. This is generally done in the Refresh event or called from the Refresh event. If the object never Refreshes, then it's state will be wrong and stay wrong unless you put a This.Refresh() in each Page's Activate event and that can be suboptimal and you have to remember to do it each time you modify a Pageframe.
>>
>>>
>>>Hi John,
>>>
>>>Despite it may be useful in some cases, wouldn't it be a little overkill :) for just getting some of those pageX.controlX.PropertyX.value? We can easily refresh only the desired control before getting its value...
>>>
>>>Nick
>
>>>>This code ensures that all Pages are refreshed whenever the Form is refreshed. Not the code that disallows a refresh of the ActivePage: This would be redundant as the ActivePage is refreshed.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform