[Lazarus] Bug 15390 and Showmodal

patspiper patspiper at gmail.com
Wed Apr 18 21:14:30 CEST 2012


On 18/04/12 21:56, Martin wrote:
> On 18/04/2012 19:05, patspiper wrote:
>>
>> Furthermore, Hide() does not trigger the OnCloseQuery and OnClose events.
>
> Yes. But that are side effects.
>
> The actual action on the widget / handle (the window as known by the 
> win-api or gtk) are the same: The form (window widget) is taken of the 
> screen
>
>>> It does the same thing. (the 2 calls have different additional side 
>>> effects, but that is a different story)
>> <joking mode on> Pulling off the computer's power plug is yet another 
>> way of closing a form with different side effects<joking mode off>
> True.
> But that one works for you: It does not return from the ShowModal call ;)
It is just different side effects ;)
>
>>
>> Finally, the force (Delphi) is not on your side :D
>
> I am on my Side....
>
> Besides: I have no problem if some one (from the developers) wants to 
> make the call, and take responsibility for potentially breaking other 
> apps.
>
> I did want to:
> - point out the risk
> - point out that the documentation leaves room for interpretation.
>
> I've done that. (actually the 2nd appears to be ongoing)
Our interpretations of "form closing" are different. Fine :)
I would have liked though to get feedback from others.

Stephano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120418/4752f3c5/attachment-0003.html>


More information about the Lazarus mailing list