是否有可能格式化工具提示文本(粗体,下划线......等)? [英] Is it possible to format Tooltip-Text (bold, underline... etc)?

查看:136
本文介绍了是否有可能格式化工具提示文本(粗体,下划线......等)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想打一个标准的工具提示的某些段落的WinForms应用程序大胆。这可能吗?

I want to make some passages of a standard tooltip bold in a WinForms application. Is this possible?

如果不是,是否有一个(免费的)工具提示组件,允许我他们的风格(最好也边框和背景)?

If not, is there a (free) tooltip component that allows me to style them (preferably also border and background)?

感谢

推荐答案

您可以使用此类型:的气球工具提示。这让你有一些大胆的标题和一些颜色选项。你也许可以修改源得到强调,该消息中的斜体和大胆。

You can use this type : Balloon tool tip. This let you have some bold title and some color option. You might be able to modify the source to get underline, italic and bold inside the message.

您可以修改工具提示(和文本的字体对象)的图。 这是如何做到这一点。在这个环节中的代码是正常的工具提示,而不是我在上面张贴的气球。

You can modify the drawing of the ToolTip (and the FONT object of the text). This is how to do it. The code in this link is for the normal ToolTip, not the Balloon I posted above.

这篇关于是否有可能格式化工具提示文本(粗体,下划线......等)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆