Sign in Join
FPDoc Onlineexperiment

TCustomIcon.Create constructor

Member of TCustomIconpublicIn unit Graphics

Constructor for the class instance.

Declaration

pascal
constructor Create; override

Description

Create is the overridden constructor for the class instance, and calls the inherited constructor on entry. Create sets the default values for properties, including:

Current
Set to -1 to indicate that an icon image has not been selected.
Masked
Set to True. By definition, an icon is masked. Does not account for icon images with an alpha channel.

Create initializes the internal member used to track the size for a requested icon.

See also

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