object Form1: TForm1
Left = 192
Top = 107
Width = 544
Height = 375
Caption = 'Form1'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
object StatusBar1: TStatusBar
Left = 0
Top = 329
Width = 536
Height = 19
Panels = <>
SimplePanel = False
object ProgressBar1: TProgressBar
Left = 3
Top = 4
Width = 150
Height = 13
Min = 0
Max = 100
TabOrder = 0
end
end
end
Left = 192
Top = 107
Width = 544
Height = 375
Caption = 'Form1'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
object StatusBar1: TStatusBar
Left = 0
Top = 329
Width = 536
Height = 19
Panels = <>
SimplePanel = False
object ProgressBar1: TProgressBar
Left = 3
Top = 4
Width = 150
Height = 13
Min = 0
Max = 100
TabOrder = 0
end
end
end
解决方案 »
- 关于report machine的自定义纸张,困惑!
- 请问delphi用什么加壳比较好?不报病毒的
- 运行程序报错:ADOQUERY1:parameter 'p3 'not found
- 关于文件流的一点问题!
- 如何在Delphi中使用DTS包?
- 一个数据库的问题。
- 请教关于使用TPieSeries绘制饼图的问题。
- 查询,修改
- 请问如何在StringGrid中实现转行?急!急!急!
- 请问专科生学编程有没有出路,不知该学些什么好? 考高程难吗?专科生考计算机研究生有没有希望,就业前景怎样?渴望得到各位高手的指点!
- backup database bak to disk='e:\2222' 对ADO+ACCESS数据库,行吗?
- 为何提示where附近有语法错误
//不会就用下边的代码
procedure TForm1.FormCreate(Sender: TObject);
begin
ProgressBar1.Parent := StatusBar1;
ProgressBar1.Top := 2;
ProgressBar1.Left := 2;
end;
//不会就用下边的代码
procedure TForm1.FormCreate(Sender: TObject);
begin
ProgressBar1.Parent := StatusBar1;
ProgressBar1.Top := 2;
ProgressBar1.Left := 2;
end;
begin
//状态栏上加图片哦
Iamge1.Parent := StatusBar1;
Iamge1.Top := 2;
Iamge1.Left := 2;
end;
begin
//按钮上面放按钮哦
Button1.Parent := Button2;
Button1.Top := 2;
Button1.Left := 2;
end;
begin
//这样是会错的哦
Button1.Parent := Button1;
Button1.Top := 2;
Button1.Left := 2;
end;
Windows, Messages, SysUtils, Classes, Controls, ComCtrls;type
TStatusBarExt = class(TStatusBar)
private
{ Private declarations }
protected
{ Protected declarations }
public
{ Public declarations }
constructor Create(AOwner: TComponent);override;
published
{ Published declarations }
end;procedure Register;implementationprocedure Register;
begin
RegisterComponents('rainbowsoft', [TStatusBarExt]);
end;{ TStatusBarExt }constructor TStatusBarExt.Create(AOwner: TComponent);
begin
inherited;
ControlStyle := ControlStyle + [csAcceptsControls];
end;end.