单击控件后,工具提示消失 [英] ToolTip disappear after clicking the control
问题描述
我在我的控件中添加了一个工具提示,但在点击控件后,工具提示没有再次出现(鼠标悬停)。
我知道为什么丢失工具提示?
提前致谢
Idit
ToolTip 类提供的属性使您可以修改ToolTip窗口的显示时间和速度。 AutoPopDelay 确定ToolTip窗口的显示时间; InitialDelay 和 ReshowDelay 属性确定显示工具提示窗口之前的延迟。要将所有这些属性设置为一致的模式,可以使用 AutomaticDelay 属性。然后,该值用于计算和设置其他延迟属性的值。无论是否,都可以显示控件的工具提示文本。 表单 或包含控件的容器已启用,您可以使用 ShowAlways 财产。如果要禁用应用程序中显示的所有工具提示文本,可以使用 活动 属性。
来源:MSDN
Hi,
I am adding a tooltip to my control, but after I click the control, the tooltip doesn't appear again (in mouse over).
Any idea why I loss the tooltip?
Thanks in advance
Idit
The ToolTip class provides properties that enable you to modify how long and how quickly a ToolTip window is displayed. The AutoPopDelay determines how long a ToolTip window is displayed; the InitialDelay and ReshowDelay properties determine the delay before a ToolTip window is displayed. To set all these properties to a consistent pattern, you can use the AutomaticDelay property. This value is then used to calculate and set the values of the other delay properties. To enable a control's ToolTip text to be displayed regardless of whether the Form or container the control is contained within is enabled, you can use the ShowAlways property. If you want to disable all ToolTip text from being displayed in your application, you can use the Active property.
Source: MSDN
这篇关于单击控件后,工具提示消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!