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:
00618819
Views:
8
Duh! Don't know how I overlooked that one (I do that on other forms)! Too short-sited today I guess (and it's not even Friday!:0). Thanks George, it works great!
Tracy

>>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.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform