Download Now

    Reference TTextItem

    Declared in Codebot.Text.Store.pas on line 29

    TTextItem is a named block of text stored by TTextStorage
      TTextItem = class(TCollectionItem)
      protected
        function GetDisplayName: string; override;
      public
        constructor Create(ACollection: TCollection); override;
        destructor Destroy; override;
        { Copy the name and text from another text item }
        procedure Assign(Source: TPersistent); override;
      published
        { The name used to find the item }
        property Name: string read FName write FName;
        { The lines of text stored by the item }
        property Text: TStrings read FText write SetText;
      end;