Autor Beitrag
Biarchiv
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 688



BeitragVerfasst: Di 26.08.03 19:30 
Hallo,

1te: Erstmal wie kann ich immer ein Folder teifer mit DirectroyListBox springen?

2te: Wie kann man die FileListBox per Namen Größte usw soritieren?

3te: Gibt es ein gutes Tutorial für DirectoryListBox, FileListBox, ComboListBox?

Danke
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 26.08.03 19:44 
2.) In dem du einen Sortieralgorithmus implementierst.
3.) F1.
Biarchiv Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 688



BeitragVerfasst: Do 28.08.03 19:29 
Hallo,

1)
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
procedure TMainForm.SpeedButton2Click(Sender: TObject);
var i : integer;
    s : string;
label back;
begin
i := 100;
s := Label1.Text;
back:
i := i - 1;
Label1.Text := DirectoryListBox1.GetItemPath(i);
If (Label1.Text = '') then goto back;
  begin
  i := i - 1;
  Label1.Text := DirectoryListBox1.GetItemPath(i);
  DirectoryListBox1.Update;
  FileListBox1.Update;
  end;
If (s = Label1.Text) then
  begin
  i := i - 1;
  Label1.Text := DirectoryListBox1.GetItemPath(i);
  DirectoryListBox1.Update;
  FileListBox1.Update;
  end;
end;


Es geht aber irrgendwie manchmal Spring er wieder einen Path hoch.
Wo liegt da der Fehler?
Biarchiv Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 688



BeitragVerfasst: Mo 01.09.03 18:59 
Hello,

Ich kann da leider keinen Fehler finden.
Er geht zwar immer runter aber plotzlich wieder eins rauf und eins runter.

Hmm... Komisch...