摘要:
1.在Delphi 5中通过菜单“File/New Application”创建一个新的工程。 2.在窗体中添加一个状态栏组件StatusBar1,一个Button组件Button1。在状态栏编辑器中为状态栏添加两个显示面板,因为后面将要在第二个面板中显示进度条,所以将第二个面板的Style属性设置为psOwnerDraw。将Button1组件的Caption属性设置为“演示操作”。 3.在Unit1.pas文件的TForm1的类型定义中添加下面的变量定义: ...... private { Private declarations } progressBar:TProgressB... 阅读全文