AfterConstruction and BeforeDestruction

From Appmethod Topics
Jump to: navigation, search

Go Up to C++ and Object Pascal Models

System.TObject introduces two virtual methods, BeforeDestruction and AfterConstruction, that allow programmers to write code that is processed before and after objects are destroyed and created, respectively.

These methods are public and are called automatically.

See Also