F fsnhlzm Unregistered / Unconfirmed GUEST, unregistred user! 2007-07-09 #1 OpenDialog1打开后,如何在文件名一栏中显示预设的文件名?
F fsnhlzm Unregistered / Unconfirmed GUEST, unregistred user! 2007-07-09 #3 if OpenDialog1.execute then begin OpenDialog1.FileName:='stockin.bpl'; end 以上是我的语句.打开OpenDialog1后,文件名一栏还是空白.[]
if OpenDialog1.execute then begin OpenDialog1.FileName:='stockin.bpl'; end 以上是我的语句.打开OpenDialog1后,文件名一栏还是空白.[]
F fsldg Unregistered / Unconfirmed GUEST, unregistred user! 2007-07-09 #4 编辑opendialog1的属性,filter: *|*.pbl
Z zhlu Unregistered / Unconfirmed GUEST, unregistred user! 2007-07-09 #5 if OpenDialog1.execute then begin OpenDialog1.FileName:='stockin.bpl'; end 文件名赋值应该在execute前 OpenDialog1.FileName:='stockin.bpl'; OpenDialog1.execute;
if OpenDialog1.execute then begin OpenDialog1.FileName:='stockin.bpl'; end 文件名赋值应该在execute前 OpenDialog1.FileName:='stockin.bpl'; OpenDialog1.execute;