Hallo,
Zitat:
da faselt der Compiler irgendwas mit Konstantentyp
du brauchst eine Zwischenvariable
Delphi-Quellcode:
Var s:string;
s:=extractfiledrive(Label_Standardpath.Caption);
DriveCombobox1.Drive := delete(s,1,1);
alternativ: DriveCombobox1.Drive := s[1];
Mfg Frank