Autor Beitrag
cyrus23
Hält's aus hier
Beiträge: 1



BeitragVerfasst: Di 11.07.06 22:24 
Hallo

Ich möchte Dirs erstellen und zwar aus mehreren teilen
die verschiedenen teile sind in 3 oder 4 comboboxen vereinbart

Bsp.:

Combobox1:
TeilA
TeilA1
TeilA2

Combobox2:
TeilB
TeilB1
TeilB2

Combobox3:
TeilC
TeilC1
TeilC2

Ein dir soll dann halt heißen

TeilA-TeilB2-TeilC1 oder TeilA2-TeilB-TeilC1 und so weiter


wie kann ich das realisieren ?
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Di 11.07.06 22:47 
Moin und :welcome: im Forum!

Du könntest das z.B. so machen:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
var
  DirName: String;

begin
  DirName := ComboBox1.Text+'-'+ComboBox2.Text+'-'+ComboBox3.Text;

Wie du dann einen Ordner erstellst, kannst du sicher über die Suchfunktion rausfinden: Suche in: Delphi-Forum, Delphi-Library CREATEDIR

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.