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

TButtonGlyph.Create

Create - constructor for TButtonGlyph: frees the Images cache then creates a Glyph Bitmap.

Declaration

Source position: buttons.pp line 122

public constructor TButtonGlyph.Create;

Description

If you drop a component on the form in the form editor, you don't need to add code to explicitly create it. The component is automatically created together with the form, and destroyed when the form is destroyed.

However, if you create the component by code, don't forget to free it when it is no longer needed. Constructors allocate memory and system resources needed by the object. They also call the constructor for any sub-objects present in the class.


Version 4.0 Generated 2025-05-03 Home