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

TCoolBands

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements a collection for TCoolBand items.

Declaration

Source position: comctrls.pp line 2514

type TCoolBands = class(TCollection)

protected

  function GetOwner; override;

  

Gets the owner for the persistent object.

  procedure Update(); override;

  

Updates the specified item in the collection, and updates the cool bar when needed.

  procedure Notify(); override;

  

Handles the notification that occurs when a collection item is added, extracted, or deleted.

public

  constructor Create();

  

Constructor for the class instance.

  function Add;

  

Creates a new collection item and adds it to the collection.

  function FindBand();

  

Gets the collection item which contains the specified control.

  function FindBandIndex();

  

Gets the ordinal position for the collection item which contains the specified control.

  property Items []: TCoolBand; default; [rw]

  

Provides indexed access to the TCoolBand instances in the collection.

end;

Inheritance

TCoolBands

  

Implements a collection for TCoolBand items.

|

TCollection

|

TPersistent,IFPObserved

|

TObject

Description

TCoolBands is a TCollection descendant used to store TCoolBand instances used the TCoolBar control. TCoolBands is the type used for the TCoolBar.Bands property.

See also

TCoolBand

  

Implements a band displayed on the TCoolBar control.

TCoolBar.Bands

  

Collection with the bands defined for the control.

TCollection


Version 3.2 Generated 2024-02-25 Home