> ste...@nevets.com.au schrieb:
>>> On Thu, 13 Mar 2014 22:45:44 +1030
>>> Steve Gatenby wrote:
>>>
Hoping somebody may be able to explain why the following doesn't stop
the Form closing.
Button1 sets the method pointer correctly (I believe), as when closing
the form the s
ste...@nevets.com.au schrieb:
On Thu, 13 Mar 2014 22:45:44 +1030
Steve Gatenby wrote:
Hoping somebody may be able to explain why the following doesn't stop
the Form closing.
Button1 sets the method pointer correctly (I believe), as when closing
the form the showmessage occurs as expected (and
> On Thu, 13 Mar 2014 22:45:44 +1030
> Steve Gatenby wrote:
>
>> Hoping somebody may be able to explain why the following doesn't stop
>> the Form closing.
>>
>> Button1 sets the method pointer correctly (I believe), as when closing
>> the form the showmessage occurs as expected (and shows the cor
On Thu, 13 Mar 2014 13:51:48 +0100
Hans-Peter Diettrich wrote:
>[...]
> Here formMain.OnCloseQuery := @MyFormCloseQuery should be sufficient,
Compiler will refuse that.
>[...]
> When your formMain closes anyway, I'd suggest to write an OnClose
> handler and set CloseAction to caNone there.
>
Mattias Gaertner schrieb:
On Thu, 13 Mar 2014 22:45:44 +1030
Steve Gatenby wrote:
Hoping somebody may be able to explain why the following doesn't stop
the Form closing.
Button1 sets the method pointer correctly (I believe), as when closing
the form the showmessage occurs as expected (and s
Steve Gatenby schrieb:
Hoping somebody may be able to explain why the following doesn't stop
the Form closing.
Button1 sets the method pointer correctly (I believe), as when closing
the form the showmessage occurs as expected (and shows the correct form
name).
But the form closes anyway.
pr
On Thu, 13 Mar 2014 22:45:44 +1030
Steve Gatenby wrote:
> Hoping somebody may be able to explain why the following doesn't stop
> the Form closing.
>
> Button1 sets the method pointer correctly (I believe), as when closing
> the form the showmessage occurs as expected (and shows the correct fo
Hoping somebody may be able to explain why the following doesn't stop
the Form closing.
Button1 sets the method pointer correctly (I believe), as when closing
the form the showmessage occurs as expected (and shows the correct form
name).
But the form closes anyway.
procedure MyFormCloseQuery