Posted 30 July 2020, 6:16 pm EST
Hi,
I’m looking for ways to keep the tooltips display longer when mousing over the error icon for a row. Some error tips are long and the tooltip closes too fast to read.
Thanks,
Hai
Forums Home / ComponentOne / WinForms Edition
Posted by: hdle on 30 July 2020, 6:16 pm EST
Posted 30 July 2020, 6:16 pm EST
Hi,
I’m looking for ways to keep the tooltips display longer when mousing over the error icon for a row. Some error tips are long and the tooltip closes too fast to read.
Thanks,
Hai
Posted 3 August 2020, 4:49 pm EST
Hello Hai,
You can use the C1SuperTololTip with C1SuperErrorProvider to achieve this. You need to assign a C1SuperErrorProvider to the C1SuperErrorProvider property of the FlexGrid and a C1SuperToolTip to the ToolTip property of the C1SuperErrorProvider. You need to change the AutoPopDelay property of the C1SuperToolTip to change the duration for which the tooltip stays visible. You can do this as given in code snippet given below:
C1SuperErrorProvider errorProvider = new C1SuperErrorProvider();
errorProvider.ToolTip = new C1SuperTooltip();
errorProvider.ToolTip.AutoPopDelay = 10000; //value in miliseconds
_flex.C1SuperErrorProvider = errorProvider;
A sample showing the same is attached for reference, please have a look and let us know if you have any doubt.
Regards,
Prabhat Sharma.
ErrorInfo.zip
Posted 5 August 2020, 4:02 am EST
Hello Prabhat,
That works for me.
Thanks,
Hai