[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Buttons' (#lcl)

TButtonGlyph.Destroy

Destroy - destructor for TButtonGlyph: frees caches and calls inherited Destroy.

Declaration

Source position: buttons.pp line 123

public destructor TButtonGlyph.Destroy; override;

Description

If you call Destroy for an object which hasn't been initialized yet, it will generate an error. Always use the Free method to deallocate objects, because it verifies that the object does not contain the value Nil.

Take the following precautions when creating your own Destroy method:

See also

TObject.Destroy


Version 4.0 Generated 2025-05-03 Home