AfterConstruction and BeforeDestruction

From RAD Studio
Jump to: navigation, search

Go Up to C++ and Delphi Class 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