大虾给我帮助啊
解决方案 »
- 问一个DBGridEh的问题?
- 关于Delphi DLL动态连接库编写与调用的问题
- delphi 中怎样将access库中的 指定(table)表中数据导入到excel中另存储?
- [请教TQuery.ExecSQL的执行]
- 怎样在下拉框中放置树型控件
- dbgrid或dbgrideh如何在点击某个列的单元格时.....
- 由Foxmail导出若干MSG文件,其汉字部分均变成了=??=??的乱码,请问这是种什么编码,怎么还原成汉字?
- 请教:怎样把一个文件以流的形式写入到SQLSERVER2000的数据表中
- 文件传输:服务器和客户端连接问题。(在线等)
- 请问怎么进行时间对比
- 如何在win2000+LQ300k打印机实现,报表即打即停 急!!!
- EML文件分析,里面的邮件时间怎么分析和提取,做邮件得高手指教!
begin
with TComBobox.Create(StatusBar1)do
begin
Parent:=StatusBar1;
width:=StatusBar1.Width;
height:=StatusBar1.Height;
Text:='Test';
end;
end;
StatusDrawRect:TRect;
ProgressBar:TProgressBar;
//以上定义成窗体变量在statusbar的ONDRAWPANEL中加上 StatusDrawRect:=Rect;//创建进度条
procedure TFrmExcel.createprogressbar;
begin
if not Assigned(ProgressBar) then
Progressbar:=TProgressBar.Create(Self);
Repaint;
with ProgressBar do
begin
Top:=StatusDrawRect.Top;
Left:=StatusDrawRect.Left;
Width:=StatusDrawRect.Right-StatusDrawRect.Left;
Height:=StatusDrawRect.Bottom-StatusDrawRect.Top;
Visible:=true;
Parent := StatusBar;
end;
end;
这样就在状态栏上有一个进度条
你可以参照这样的加其他VCL控件