We are using UltraChart 8.3 for windows. Recently we are experiencing a problem on display Tooltips.
The tooltips can be correctly displayed in our main window. But when I create a new window on top of the main window, and display chart in this new window, tooptip just won't show. I can only see a circle at the data point, but not the tooltip text. There is no difference on how the chart gets created and displayed in the main window or floating window.
I suspect it's related with the parent of the forms.
Any clue?
Thanks,
Zongwen
tooltip positioning and parenting is an area that we often find exceptions to - that is, we get a lot of reported cases were an app's window architecture causes the tooltip parenting or positioning to fail.
so please test this with the latest available service release, as recent fixes might resolve the problem for you. if the problem persists, please contact us with steps to reproduce or a sample project so we can fix the problem in our code.
Hi,
I installed the latest version of 2009.1 and still no luck. the problem still exists and the tooltip is not showing.
I created a sample program to show you how it works. it's built using UltraChart 2008 volumn 3.
thanks and hope to hear from you soon!
zongwen,
there's not a lot we can do if you're going to call BringToFront() on your panel, which has the same parent as the tooltip. this causes the panel to be placed in front of the tooltip, obscuring it.
you could call this code afterwards...
Control tooltip = typeof(UltraChart).GetProperty("Tooltip", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.GetProperty).GetValue(chart, null) as Control; tooltip.BringToFront();
It gives me an exception when I added your code. I figured that GetProperty returnes null. How do I get the tooltip control?
Now I tried to loop though all controls inside the winform.Controls collection and find the one with type of IGWinTooltip. Then I call .BringToFront from that control. It seems to work. Is the tooltip control always reside directly under the winform?
Thanks
Zongwen,
in my last post i was talking to another person who posted on this thread.
regarding the IGWinTooltip, that code i sent you that uses Reflection to get it might not be working due to the security context your application is running in.
the tooltip control is not directly under the winform in 100% of scenarios, but if that's where it is on your form, you can rely on the form's Controls collection to find it and get the reference.
Hi David,
Has there been a fix from Infragistics for the tooltip problem? We are using NetAdvantage for .Net 2008 Vol 3 CLR 2.0.
there were no problems discussed in this threat that required a fix from us. what kind of trouble are you having with your tooltip?
i am sure there have been fixes to the tooltips since the initial release of 2008.3, so there is a good chance the latest service release will help you.