Autor Beitrag
bruder jonas
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 76



BeitragVerfasst: Sa 20.07.02 14:21 
hallo,

mal wieder ein problem.

ich habe 2 fenster. im linken fenster soll man per dialog dateien auswählen können.
nach klick auf deinen button sollen die dateien in das rechte fenster eingetragen werden.
mit den dateien im rechten fenster möchte ich dann arbeiten.

wie mache ich das?

danke
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Sa 20.07.02 16:14 
Hallo,

einen Ansatz kannst du hier finden.

Gruß
Klabautermann
b.brecht
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 81



BeitragVerfasst: Mo 22.07.02 12:37 
Kannst ja so machen:
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
var
  Form1: TForm1;
  Files:ARRAY[0..1000] of String;

implementation

{$R *.dfm}

procedure open;
var a:integer;
begin
Form1.OpenDialog1.Options := [ofFileMustExist, ofHideReadOnly, ofNoChangeDir, ofAllowMultiSelect ];
if Form1.OpenDialog1.Execute then
       FOR a:=0 to Form1.OpenDialog1.Files.Count-1 do Files[a];
end;

procedure writeit;
var a:integer;
begin
FOR a:=0 to Form1.OpenDialog1.Files.Count-1 do
Form1.ListBox1.Items.add(Files[a]);
end;