Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by DeddyH,
23. Nov 2007
Ich denke schon, ob man von links löscht oder von rechts kopiert, sollte im Ergebnis das Gleiche sein ;)
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by DeddyH,
23. Nov 2007
Thx, ich kam einfach nicht drauf. :lol:
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by DeddyH,
23. Nov 2007
Ja, aber den kompletten Pfad, den will er ja nicht.
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by DeddyH,
23. Nov 2007
Ob es da bereits eine fertige Funktion gibt, weiß ich gerade nicht, aber Du kannst es mal damit versuchen:function LastDir(const sPath: string): string;
var temp: string;
i: integer;
begin
Result := '';
temp := sPath;
if temp in then
Delete(temp,Length(temp),1);
i := Length(temp);
while (i > 0) and not(temp in ) do