Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best Place to Check for variable and close form?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00618812
Message ID:
00618818
Views:
11
This message has been marked as the solution to the initial question of the thread.
>I have a variable that is in scope while a form is running. I want to close the form if the variable's value is .t. Where is the best place to put the code to check for it? GotFocus? Activate? Refresh?
>TIA,

Tracy,

Why not make it a property of the form and add an _assign event. That way, you can close the form when the value is changed.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform