[Lazarus] LCL messaging system SendMessage and Multi-Threads
Zaher Dirkey
parmaja at gmail.com
Fri May 7 17:40:27 CEST 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100507/dec86823/attachment-0004.html>
More information about the Lazarus
mailing list