Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting changes between controls in a container
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00628486
Message ID:
00629877
Views:
18
>>>>>I know I will be riduculed for this by I handled that situation in an old VFP3 Application by In the Main Startup a I defined a global variable 'gccurrentfocus' that on got focus in each item in all containers was assigned the name of the control...
>>
>>Congratullations Edgar, really a great solution, simple yet very functional! (By the way, as an old Cobol dog I still like to use some of these solutions <s>).
>>
>>Just curious, you though would be ridicularized because of what?
>>
>>Fernando
>
>I've seen here that many people prefer no "global variables", where I use them intently. oh well, I recall that the original purpose of the new variable was to allow "last text-box variable update to be enforced" when a user closed the form (without leaving the text-box), even that was subject to field level verification.


Edgar,
I agree with you. We use a large number of global vars that get set in our main prg. We never declare a var public.

John.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform