Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing Window by pressing X
Message
From
24/10/2002 10:27:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00714834
Message ID:
00714861
Views:
26
>No, it doesn't seem to do the trick in CodeMine, as it causes some other items you have to deal with. But thanks for the help.

Well, the basic idea goes something like this:
* Method: QueryUnLoad()
* Will be called when user presses "x"
if not (DoDefault() and AdditionalConditions())
  NoDefault && Do not close the form
endif
Perhaps the form classes in CodeMine call some other method from QueryUnload(), which you can use instead. If this is the case, perhaps you don't have to use NoDefault; instead, adapt to the structure of the function (probably RETURN .F.).

Hilmar.
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