In fact i want to understand your discusses here, for example Delphi use
PostMessage to send message to Form to close instead to close it by free it
as an object, e.g.
In click Button in the Form1 we call Close, but if Close just destroy the
form it will destroy the button (and all components) then the code inside
Click will use destroyed objects.

I use PostMessage to resolve similar problem for popup controls because the
message received after the code in the event OnClick run, i feel in wrong
way or am i in wrong discusses.

Thanks

-- 
Zaher Dirkey
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to