工具提示气球在 5 秒后消失 [英] Tooltip Balloon Disappears After 5 Seconds

查看:40
本文介绍了工具提示气球在 5 秒后消失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将AutoPopDelay"属性设置为 60000,但每次我将鼠标悬停在关联元素上时,即使我的鼠标指针停留在元素上方,气球也只会保持打开状态 5 秒.

I have the property "AutoPopDelay" set to 60000, but every time I hover over an associated element, the balloon only stays open for 5 seconds even when my mouse pointer stays over stationary over the element.

对可能导致这种情况的原因有任何想法吗?

Any ideas on what could be causing this?

我正在使用 WinForms

I am using WinForms

推荐答案

阅读 MSDN (link) 延迟弹出窗口的最长时间为 5000 毫秒.

Reading the documentation for the AutoPopDelay on MSDN (link) the maximum time you can delay a popup is 5000 milliseconds.

如果您想要更长的持续时间,请使用 Show 方法来控制 ToolTip 显示的确切时刻.

If you want a longer duration, use the Show method to control the exact moment when the ToolTip is displayed.

...

但是,如果您需要工具提示长时间保持打开状态,我相信您是在尝试解决症状而不是问题的原因.根据定义,工具提示是一个包含有关用户指向的项目的上下文信息的小框".如果用户无法在 5 秒内阅读工具提示试图建议的内容,那么这不是真正的提示",而是帮助文件中的一整章.

However, I believe that you are trying to cure the symptoms and not the cause of your problem if you need a ToolTip to stay open for that long. A tool tip is, by definition, is "a small box with contextual information about the item the user to pointing to". If the user is unable to read what the tooltip is trying to suggest in 5 seconds, then it is not really a "tip" but an entire chapter from the help file.

这篇关于工具提示气球在 5 秒后消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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