🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.delphi
3 messages
3 total messages Started by Daniel Gogolewski Fri, 12 Sep 1997 00:00
TStringList - Delphi 3.0
#57
Author: Daniel Gogolewski
Date: Fri, 12 Sep 1997 00:00
30 lines
871 bytes
Mam k�opot z pewn� komend� czy mo�e kto� wie jak to zrobic 
�eby dzia�a�o


  { Private declarations }
  public
    Strony : array[1..99] of TStringList;
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.DFM}

procedure TForm1.Button1Click(Sender: TObject);
begin
     Strony[1] :=Memo1.Lines; -<-------------------------------- Tu jest
b��d 
end;


Z goru dziekuje za odpowiedz .

Pozdrawiam Daniel Gogolewski

czlo...@dobrestrony.com.pl
Re: TStringList - Delphi 3.0
#58
Author: pa... Pawel
Date: Fri, 12 Sep 1997 00:00
25 lines
890 bytes
Czesc!

"Daniel Gogolewski" <czlo...@polbox.com> wrote:
>procedure TForm1.Button1Click(Sender: TObject);
>begin
>     Strony[1] :=Memo1.Lines; -<-------------------------------- Tu jest
>b��d 
>end;

Nalezy uzyc metody Assign - powyzsze powinno wygladac tak:

procedure TForm1.Button1Click(Sender: TObject);
begin
     Strony[1] .Assign(Memo1.Lines);
end;


Pozdrowienia,
Pawel

Pawel Ksiezyk   pa...@bsc.com.pl
    Borland Support Center
    http://www.bsc.com.pl 
 BSC Polska    tel. 637-63-65
Re: TStringList - Delphi 3.0
#59
Author: Pawel
Date: Mon, 15 Sep 1997 00:00
17 lines
761 bytes
Czesc!

Pawel <pa...@bsc.com.pl> napisa�(a) w artykule 
> 
> Nalezy uzyc metody Assign - powyzsze powinno wygladac tak:
> 
> procedure TForm1.Button1Click(Sender: TObject);
> begin
>      Strony[1] .Assign(Memo1.Lines);
> end;

Oczywiscie obiekt Strony[1] musi byc wczesniej utworzony (jakbys
przypadkiem o tym nie pamietal).

Pozdrowienia,
Pawel
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads