zoukankan
html css js c++ java
TBalloonHint 提示
代码文件:
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ImgList;
type
TForm1 = class(TForm)
BalloonHint1: TBalloonHint;
Button1: TButton;
Edit1: TEdit;
ImageList1: TImageList;
procedure FormCreate(Sender: TObject);
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.FormCreate(Sender: TObject);
begin
Button1.CustomHint := BalloonHint1;
Edit1.CustomHint := BalloonHint1;
BalloonHint1.Images := ImageList1;
Button1.ShowHint := True;
Edit1.ShowHint := True;
Button1.Hint := '提示:|这是 Button1 的 Hint|0';
{标题|内容|ImageList 中的图像序号}
Edit1.Hint := '敬告:|这是 Edit1 的 Hint|1';
end;
end.
窗体文件:
object Form1: TForm1
Left = 0
Top = 0
Caption = 'Form1'
ClientHeight = 127
ClientWidth = 215
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 13
object Button1: TButton
Left = 32
Top = 32
Width = 75
Height = 25
Caption = 'Button1'
TabOrder = 0
end
object Edit1: TEdit
Left = 32
Top = 80
Width = 121
Height = 21
TabOrder = 1
Text = 'Edit1'
end
object BalloonHint1: TBalloonHint
Left = 161
Top = 24
end
object ImageList1: TImageList
Left = 161
Top = 72
Bitmap = {
}
end
end
查看全文
相关阅读:
js调用后台方法
Js 实现trim方法
Service获取客户端IP地址(java)
ASP.NET中页面传值
Asp.net 实现选择文件批量下载
js调用后台代码
获取webservice客户端IP地址 (C# java )
使 WebBrowser 更简单的新加和执行 js, 可安装 jQuery 脚本的 C# 开源代码 IEBrowse...
Mac下各种网络命令的使用
Java关键字
原文地址:https://www.cnblogs.com/luckForever/p/7254671.html
最新文章
第3章 数据链路层
第2章 数据通信技术基础
第1章 概论
悲惨的开发工程师人生之路(转载)
Tengine的concat模块
nginx(Tengine)使用——新模块添加使用
mysql使用小记
传说中的“是芥末日”这一天的总结
2012最后一天的总结,新一天的开始
关于PHP的异步调用
热门文章
nginx(Tengine)使用小结安装与简单配置篇
11月11光棍节总结
vagrant使用小结
又是一个月的总结
HDU3693 Math Teacher's Homework 数位DP
Luogu2482 [SDOI2010]猪国杀 模拟
关于读入优化的分析
Luogu1445 [Violet]樱花 数论优化
对xml节点操作
C#读写Cookie
Copyright © 2011-2022 走看看