W wyrhome Unregistered / Unconfirmed GUEST, unregistred user! 2003-02-09 #1 在opendialog中怎样读取文件名,不想要路径。希望有代码。或有什么可以代替。谢谢
D desertsmoke Unregistered / Unconfirmed GUEST, unregistred user! 2003-02-09 #2 function ExtractFileName(const FileName: string): string;
R resun Unregistered / Unconfirmed GUEST, unregistred user! 2003-02-09 #3 var fname:string; begin if opendialog.execute then fname:=ExtractFileName(opendialog.filename);
D ddntyz Unregistered / Unconfirmed GUEST, unregistred user! 2003-02-12 #4 var FileName:string; begin if opendialog.execute then FileName:=ExtractFileName(opendialog.filename); end
var FileName:string; begin if opendialog.execute then FileName:=ExtractFileName(opendialog.filename); end