Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ctrl+T in grid
Message
From
29/03/2002 11:23:50
 
 
To
29/03/2002 11:10:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00638576
Message ID:
00638952
Views:
15
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform