On December 3, 2015 9:26:39 PM GMT+01:00, Krzysztof <[email protected]> wrote:
>Hi,
>
>How to destroy object or component in its own method (do this in next
>message queue)? Currently I'm using Application.QueueAsyncCall but IIRC
>there is special routine in FPC/LCL but can't find. For example Qt has
>myobject.qDeleteLater()

For forms and decendants, TForm.release

Other objects, you just call free

Marc






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

Reply via email to