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

TCollectionItem.GetDisplayName

Returns the TCollectionItem.DisplayName of the collectionitem

Declaration

Source position: classesh.inc line 440

protected function TCollectionItem.GetDisplayName: String; virtual;

Description

GetDisplayName returns the value of the TCollectionItem.DisplayName property. By default, this is the classname of the actual TCollectionItem descendant.

Descendants of TCollectionItem can and should override this method to return a more meaningful value.

See also

TCollectionItem.DisplayName

  

Name of the item, displayed in the object inspector.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.