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

TNamedItem

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

Named collection item

Declaration

Source position: db.pas line 138

type TNamedItem = class(TCollectionItem)

protected

  function GetDisplayName; override;

  procedure SetDisplayName(); override;

public

  property DisplayName: String; [rw]

  

Display name

published

  property Name: String; [rw]

  

Name of the item

end;

Inheritance

TNamedItem

  

Named collection item

|

TCollectionItem

|

TPersistent

|

TObject

Description

NamedItem is a TCollectionItem descendent which introduces a Name property. It automatically returns the value of the Name property as the value of the DisplayName property.

See also

DisplayName

  

Display name

Name

  

Name of the item

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