Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form - close button
Message
 
 
To
07/02/2007 07:51:00
Hans-Otto Lochmann
Dr. Lochmann Consulting Gmbh
Frankfurt, Germany
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01193159
Message ID:
01193162
Views:
17
This message has been marked as the solution to the initial question of the thread.
It triggers QueryUnload(). The ReleaseType property tells how form was closed.

>
>Does anybody know how to intercept the click event of the close button top right on the form ("X-Button")?
>
>A click on this button activates first the Destroy() method and then the Unload() method in the form, but I would direct this click to a user defined method, like e.g. Thisform.OnClose(), but I do not know, how to use BindEvent(..) in this case. I want to have the sequence (OnClose() -> Release() -> Destroy() -> Unload()) which I can easily do with the usual Exit-Button-Click event.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform