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

TCollectionItem.SetDisplayName

Write method for the TCollectionItem.DisplayName property

Declaration

Source position: classesh.inc line 442

protected procedure TCollectionItem.SetDisplayName(

  const Value: String

); virtual;

Description

SetDisplayName is the write method for the TCollectionItem.DisplayName property. It does nothing but notifying the managing collection that the displayname has changed. It does NOT store the actual Value.

Descendants of TCollectionItem should override this method to store the actual displayname if this is required.

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.