14.06.2011, 21:37
|
Тыкаю клавиши
|
|
Регистрация: 13.07.2009
Сообщения: 804
Версия Delphi:
Репутация: 48633
|
|
Код:
var
fL:TextFile;
TMP:String;
begin
AssignFile(fL,ListBox1.Items[ListBox1.ItemIndex]);
Reset(fL);
while not eof(fL) do
begin
Readln(fL,TMP);
RichEdit1.Lines.Add(TMP);
end;
end
|