注册 登录
编程论坛 Delphi论坛

如何在状态栏中加入图标?

ysp_1984 发布于 2006-02-26 04:31, 645 次点击
如何在状态栏中加入图标?
1 回复
#2
aerefasdf2006-03-02 10:21
想在状态栏里能显示张图片,
procedure TForm1.StatusBar1DrawPanel(StatusBar: TStatusBar;
Panel: TStatusPanel; const Rect: TRect);
var filename:string;
begin
image1.Parent:=statusbar1;
image1.Left:=rect.left+5;
image1.top:=rect.top-4;
image1.width:=panel.width;
image1.height:=rect.bottom-rect.top;
end;
1