Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ctrl+T in grid
Message
De
29/03/2002 11:23:50
 
 
À
29/03/2002 11:10:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00638576
Message ID:
00638952
Vues:
16
>Hi Bill,
>
>In the quick sample that I tested, I put a SET MESSAGE TO "GRID When" in the when event, and SET MESSAGE TO "GRID Valid" and it displayed both messages on entry to the grid and on exit whether I changed anything or not. So it would appear that it does execute the valid on exit even if no changes were made.
>
>I realize that many people do not like using public variables, but I still use them sparingly, when it makes sense to me to do so or when it is the only way I can see to do something. I normally release them as soon as they are no longer needed.
>
>Elmer

Thanks, I also use public variables. I have a prg class that creates the public variable in the Init() and releases it in the Destroy(). That way I don't have to worry about cleaning it up. I just "oPVar=PVar(cVarName)" in my methods.
Bill Morris
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform