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
查看全文
相关阅读:
11月1号笔试题总结
10月30笔试题总结
web前端常用单词
9月13日·碎碎念
python 匿名函数
python 二分法查找
python 递归
python内置函数
python 列表生成式
python 生成器
原文地址:https://www.cnblogs.com/luckForever/p/7254671.html
最新文章
idea启动tomcat报错:前言中不允许有内容
js正则0-100之间的正整数
51nod——1285 山峰和分段(暴力出奇迹)
51nod——2478 小b接水(预处理 思维)
51nod——2476 小b和序列(预处理 思维)
51nod——1640 天气晴朗的魔法 有边权限制的最大生成树
51nod——1548 欧姆诺姆和糖果
2019.5.18-5.19 ACM-ICPC 全国邀请赛(西安)赛后总结
2019.5.4总结
51nod——2502最多分成多少块
热门文章
51nod——2489 小b和灯泡(打表/平方数)
CSP-S 2020 考前总结
[模板] 多项式全家桶
[学习笔记] 分治FFT
NOIP2020集训做题记录
钱包生活面试
TCP协议中的三次握手和四次挥手(图解)
一些需要掌握的前端知识
11月4日亚细亚面试总结
11月2日组团招聘及爱用宝笔试总结
Copyright © 2011-2022 走看看