开发者论坛

 找回密码
 注册 (请使用非IE浏览器)
查看: 3185|回复: 2

按钮上出现提示框

[复制链接]

0

精华

19

贡献

352

赞扬

帖子
142
软币
1717
在线时间
183 小时
注册时间
2016-9-10
发表于 2016-10-27 09:42:52 | 显示全部楼层 |阅读模式
this.toolTipController1.AutoPopDelay = 2000;
                ToolTipControllerShowEventArgs args = this.toolTipController1.CreateShowArgs();
                this.toolTipController1.SetToolTip(this.button1, "请选择一条记录!");
                this.toolTipController1.SetTitle(this.button1, "提示");
                this.toolTipController1.SetToolTipIconType(this.button1, DevExpress.Utils.ToolTipIconType.Exclamation);
                this.toolTipController1.ShowBeak = true;
                this.toolTipController1.ShowShadow = true;
                this.toolTipController1.Rounded = true;
                this.toolTipController1.ShowHint("请选择一条记录!", "提示");
                args.ToolTip = "请选择一条记录!";
                args.Title = "提示";
                return;
用的控件是toolTipController



效果如上

效果如上
回复

使用道具 举报

0

精华

603

贡献

27

赞扬

赞助者组

Rank: 14Rank: 14Rank: 14Rank: 14

帖子
400
软币
5773
在线时间
1907 小时
注册时间
2014-12-28
发表于 2016-11-1 12:32:16 | 显示全部楼层
按钮上出现提示框
回复

使用道具 举报

0

精华

0

贡献

0

赞扬

帖子
38
软币
203
在线时间
20 小时
注册时间
2015-7-25
发表于 2016-11-15 12:01:36 | 显示全部楼层
学习了,此功能挺有用的,谢谢
回复

使用道具 举报

Archiver|手机版|小黑屋|开发者网 ( 苏ICP备08004430号-2 )
版权所有:南京韵文教育信息咨询有限公司

GMT+8, 2024-4-25 15:15

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表