Sign in Join
FPDoc Onlineexperiment

TCoolBands.Update procedure

Member of TCoolBandsprotectedIn unit ComCtrls

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

Declaration

pascal
procedure Update(aItem: TCollectionItem); override

Arguments

aItem

Collection item updated in the collection.

Description

Update is an overridden method in TCoolBands. It calls the inherited method on entry to notify observers that the collection item has changed. If a TCoolBar instance was assigned as the owner for the collection, its CalculateAndAlign method is called to layout and resize the visible bands for the control. The cool bar control is redrawn prior to exiting from the method.

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