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.
精彩评论