Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Avoid Form.Deactivate
Message
From
17/04/2002 15:25:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00645912
Message ID:
00646038
Views:
20
>>>>>"NODEFAULT in the QueryUnload event procedure prevents the form from unloading".
>>>>
>>>>I want to avoid the form from losing focus, not from unloading. NoDefault turns out to be fruitless.
>>>>
>>>>Hilmar.
>>>
>>>Sorry, I guess I should read message before replying. :)
>>
>>It happens to me, now and then < g > - but back to the original question, I assume it can't be done, right?
>>
>>Hilmar.
>
>Try to set some flag and put nodefault in Activate() method instead.

To avoid leaving a certain form (until input is complete) that would require to program Activate() in all other forms, if I understood you correctly, right?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform