Constructor for the class instance.
Source position: comctrls.pp line 2532
public constructor TCoolBand.Create( |
aCollection: TCollection |
); override; |
aCollection |
|
Collection which owns the items in the class instance. |
Create is the overridden constructor for the class instance. Create sets the default values for properties in the collection item, including:
Create calls the inherited method using aCollection as the owner of the collection item. An exception is raised if ACollection is not a TCoolBands descendant.
The internal TCoolBar reference in the class instance is set to the reference used in aCollection.
Create allocates resource needed for the Bitmap property, and sets its OnChange event handler to the InvalidateCoolBar method.
CT Web help |
CodeTyphon Studio |