Sign in Join
FPDoc Onlineexperiment

TButtonGlyph.Create constructor

Member of TButtonGlyphpublicIn unit Buttons

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

Declaration

pascal
constructor 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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.