代码如下:
if opendialog1.Execute then
begin
memo1.Lines.LoadFromFile(opendialog1.FileName);
label3.Caption :='0';
progressbar1.Min:=0;
progressbar1.Max:=memo1.Lines.Count;
progressbar1.Position:=0;
end;
请问如何设置呢?
if opendialog1.Execute then
begin
memo1.Lines.LoadFromFile(opendialog1.FileName);
label3.Caption :='0';
progressbar1.Min:=0;
progressbar1.Max:=memo1.Lines.Count;
progressbar1.Position:=0;
end;
请问如何设置呢?
解决方案 »
- delphi 读取IE缓存Temporary Internet Files下文件的问题
- c/s程序想将一个窗体form分成上左右三块内容,类似网页中的frameset,不知道delphi中怎么实现,用到哪些控件?
- 求一段让LABEL动起来的代码。
- DBGrdEh如何用程序代码触发,ondrawColumnCell事件?
- 有无选用软件公司开发企业信息化软件的标准?
- 帮忙!!!高手!!!大哥们!!!新手找工作真难!!!
- 请问那有Installshield Express for Delphi下载!
- 发送到桌面快捷方式后,程序不能调帮助文件了,为什么?
- 请问高手,在QUICKREP里怎么实现字段名竖排,记录横排?很急,谢谢!
- 关于SQLSERVER表中的TEXT字段问题?
- 我定义了一个静态数组,怎么知道我用了几组了?
- 有关interbase编程
代码如下:
if opendialog1.Execute then
begin
if opendialog1.execute then
begin
memo1.Lines.LoadFromFile(Opendialog1.FileName);
label3.Caption :='0';
progressbar1.Min:=0;
progressbar1.Max:=memo1.Lines.Count;
progressbar1.Position:=0;
end;
end;
try
...
finally
...
end;
就可以了.