Application is in c#/WinForm I'm using ToolStrip with button.
I setted ToolTipText, it is working.
Can I change the delay time to longer value ?
In other controls I'm using ToolTip control and it is possible (AutoPopDelay value).
In my other answer, I've showed how you can modify the initial delay, but as pointed out by Elmue in the comments, it looks like OP is looking for AutoPopDelay which is the duration of showing the tooltip.
To do so, you can get the internal ToolTip of ToolStrip and set its properties:
private void Form1_Load(object sender, EventArgs e)
{
var toolTip = (ToolTip)this.toolStrip1.GetType()
.GetProperty("ToolTip",
System.Reflection.BindingFlags.NonPublic |
System.Reflection.BindingFlags.Instance).GetValue(toolStrip1);
toolTip.AutoPopDelay = 10000;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With