单击显示工具提示 [英] On Click show ToolTip

查看:63
本文介绍了单击显示工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想点击按钮时显示工具提示。

如何显示多行工具提示?

Thanx。

Hi all,
I want to show tooltip when i click on a button.
And how can i show a multiline tooltip?
Thanx.

推荐答案


我想在点击按钮时显示工具提示。

如何显示多行工具提示?
I want to show tooltip when I click on a button.
And how can I show a multiline tooltip?



我认为你无法控制工具提示的格式。 VB(或Windows)只是根据需要包装它。


我认为你也没有太多(如果有的话)控制如何/何时显示它们。如果你想更好地控制这些东西,那么我想你需要通过弹出一个小窗口创建自己的东西。


让我们看看...我想它需要启用=假,因此用户无法与之互动,也可以设置为保持在最顶层。 - 我认为你必须为此做一个API调用。

I don''t think you have any control over the formatting of a tooltip. VB (or Windows) just wraps it as required.

I think you also don''t have much (if any) control over how/when to display them. If you want finer control over this stuff, then I guess you''ll need to create your own by popping up a little window.

Let''s see... I guess it would need to have Enabled = False so the user can''t interact with it, and also be set to "stay on top" - I think you have to do an API call for that.



大家好,

我想要当我点击按钮时显示工具提示。

如何显示多行工具提示?

Thanx。
Hi all,
I want to show tooltip when i click on a button.
And how can i show a multiline tooltip?
Thanx.



这没有任何意义。单击命令按钮时,将触发您的命令。在执行命令后不使用显示工具提示。

That doesn?t have any sense. When you click the command button then your command will be triggered. No use of showing tool tip after command executed.



这没有任何意义。单击命令按钮时,将触发您的命令。执行命令后不使用显示工具提示。
That doesn?t have any sense. When you click the command button then your command will be triggered. No use of showing tool tip after command executed.



嗯,我想这取决于工具提示的内容以及按钮的作用。

Well, I suppose that depends on what the tooltip says, and what the button does.


这篇关于单击显示工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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