Unit 'MUIClass.Base' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#MUIClass]

TMUIApplication.AddToDestroy

Add an object to destroy.

Declaration

Source position: MUIClass.Base.pas line 231

public procedure TMUIApplication.AddToDestroy(

  AObj: TMUINotify

);

Arguments

AObj

  

Object to destroy

Description

When an object should be destroyed inside it's own eventhandler, it will crash. Here it can be added to a list of delayed dstruction list, which will be cleared on the next Eventloop cycle.


Documentation generated on: 2024-04-19