开发者

C# ToolTip Display Duration

i need some advise on tooltip behaviour.

i have tested the following:

gameFormToolTip.Show("hello", HomeTableLayoutPanel, 30000);

gameFormToolTip.SetToolTip(HomeTableLayoutPanel, GameModel.alphaCoords(HomeTableLayoutPanel.GetCellPosition(no开发者_如何学JAVAwPicStrl).Column) + "," + HomeTableLayoutPanel.GetCellPosition(nowPicStrl).Row);

but in both cases the tooltip displays only for few fractions of a second. i have tried changing autopopdelay also and the behaviour stays the same!

am i missing something here? how can i make the tooltip stay on for longer?

thank you.


I think you should set ToolTip.AutomaticDelay property (value in milliseconds) otherwise tooltip will display only for 500ms.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜