The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tooltip only showing for less than 1 second
#1
Sample code:

C# code:
var b = new wpfBuilder("Window");

b.R.Add<Label>("PTP Domain").AlignContent(HorizontalAlignment.Right);
b.Add<TextBox>(out TextBox ptpDomain).AlignContent(HorizontalAlignment.Left).Tooltip("Integer between 0 and 127");

b.R.Add<Label>("Delay Request").AlignContent(HorizontalAlignment.Right);
b.Add<ComboBox>(out ComboBox ptpDelayReq).Items("Multicast|Unicast");

b.R.Add<Label>("Control Multicast AddressTongueort").AlignContent(HorizontalAlignment.Right);
b.Add<TextBox>(out TextBox controlMC).Tooltip("Control MC").Tooltip("Port must 49999");

b.R.AddOkCancel();
if (!b.ShowDialog()) return;


Regardless of what element has focus (if I click in one of the text boxes), I get inconsistent results with how long the tooltip displays.  Sometimes I get the normal 5000ms display time.  Most of the time it flashes for a moment.  Not even long enough to read.  Any ideas?  I tried using the ToolTipService to set the show duration globally to Int32.MaxValue as someone suggested on stack overflow.  Also tried setting it to just 5000.  Same behavior.


Messages In This Thread
Tooltip only showing for less than 1 second - by netdude78 - 06-15-2022, 04:45 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)