Показать сообщение отдельно
  #2  
Старый 21.05.2009, 18:04
jusalex jusalex вне форума
Прохожий
 
Регистрация: 21.05.2009
Сообщения: 2
Репутация: 10
По умолчанию

сам допетрил:

Код:
unit Unit2;

interface

 type
   TSentens = Class
     private
       stAll         : String;
     published
       procedure SetAll(const Value: String);
       function GetAll() : String;
       constructor Create(Text : String);

   end;

   implementation
   constructor TSentens.Create(Text: String);
 begin
   stAll         := Text;
 end;

   procedure TSentens.SetAll(const Value: String);
    begin
       self.stAll := Value;
    end;

   function TSentens.GetAll;
     begin
      Result := self.stAll;
   end;
end.

и еще плюс вызывал не правильно и передавал в TList не вызвав Create
Ответить с цитированием