Оказалось, в Лазарусе это есть!
Я про объявление констант в классе.
- Код: Выделить всё
- TMain = class(TContainer)
 private
 const CLineVert : Integer = 0;
 const CLineHorT : Integer = 1;
 const CLineHorB : Integer = 2;
 const CTitle : Integer = 3;
 const CBody : Integer = 4;
 function GetiTitle: TContainer; inline;
 public
 property iTitle : TContainer read GetiTitle;
 ...
 function TMain.GetiTitle: TContainer;
 begin
 Result := Item[CTitle];
 end;


