[Lazarus] How to destroy object / component by itself?

Bart bartjunk64 at gmail.com
Thu Dec 3 22:45:53 CET 2015


On 12/3/15, Krzysztof <dibo20 at wp.pl> wrote:


> 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()

Application.ReleaseComponent()?

Bart




More information about the Lazarus mailing list