General information
Category:
Forms & Form designer
>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.
>>
Thank you Sergey, that exactly does it! Now I can have above chain of methods on both!
Hans
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only