All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
asp.net,2.0,客户端回调实现全国省市县3级联动下拉列表_[Asp.Net教程]
SQL,Server,CLR全功略之二---CLR存储过程_mssql学习_编程技术
33条C#、.Net经典面试题目及答案_.net资料_编程技术
Linux操作系统启动httpd失败的解决方法_php资料_编程技术
discuz伪静态设置iis_php资料_编程技术
用VS2005实现ASP.NET2.0移动开发_[Asp.Net教程]
ASP.NET底层架构探索之进入ASP.NET_.net资料_编程技术
在C#中使用帮助文件
XML入门教程:掌握学习 XML 语法规则_[XML教程]
数据库人员手边系列:SQL语法查询文档_[SQL,Server教程]
Reading number is top 10 pictures
Black and white also sexy--YanLiu2
Nikon microscopic photography of the first three
Wild animals melee moment of life and death1
The service WaLiangGe Chinese aircraft carrier1
新版武松打虎
A man's favorite things10
湖边的风景
XuYing poker perspective garment debut
From China fortress sora aoi3
再发一张清纯美眉的照片
Download software ranking
1400篇各类破解文章
The cock of the Grosvenor LTD handsome
变速齿轮3.26
星际争霸1.08硬盘免安装版
Popkart Cracked versions Mobile phone games
Proficient in JavaScript
美女游泳记
Tram sex maniac 2 (H) rar bag16
Tram sex maniac 2 (H) rar bag11
Red cliff
aaa published in(发表于) 2014/7/19 0:12:10 Edit(编辑)
delphi状态栏中加入图标实例

delphi状态栏中加入图标实例

delphi状态栏中加入图标实例

状态栏中加入图标

实例说明

状态栏已经成为主界面必不可少的部分,状态栏一般用于显示程序状态、当前日期等,在状态栏中添加一张图片会是程序的主界面更有特色。运行本例,效果如图1.11所示。



技术要点

本例的主要技术是为了TImage组件的Parent属性指定父组件,设置TImage组件的相关属性确定图片的位置。

实现过程

1.新建一个工程,该工程会自动创建一个窗体,默认命名为Form1。

2.在窗体上添加TImage组件和TSatusBar组件。

3.程序代码如下:

procedure TForm1.FormCreate(Sender: TObject);

begin

image1.Parent:=statusbar1;

image1.Left:=2;

image1.Top:=3;

image1.Width:=32;

image1.Visible:=True;

end;




添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.