Hi,
I have an app with two panels.
The left panel will hold something like a menu.
What I want is to provide a Tooltip for this panel.
It work - but only in the "client area" of the panel.
When I hover the "headline" it does not pop up a tooltip.
Since the panel will be filled with other controls the tooltip will never show up.
To be more precise:
Imagine an explorer like app.
A panel to the right - showing details.
A panel to the left - containing a large treeview.
What I want is that when the user hovers the "headline" a tooltip should be shown telling something like "Select a folder to see the files...".
Is this possible?
Regards
Manfred
I have an app with two panels.
The left panel will hold something like a menu.
What I want is to provide a Tooltip for this panel.
It work - but only in the "client area" of the panel.
When I hover the "headline" it does not pop up a tooltip.
Since the panel will be filled with other controls the tooltip will never show up.
To be more precise:
Imagine an explorer like app.
A panel to the right - showing details.
A panel to the left - containing a large treeview.
What I want is that when the user hovers the "headline" a tooltip should be shown telling something like "Select a folder to see the files...".
Is this possible?
Regards
Manfred
5 Answers, 1 is accepted
0
Hello Manfred,
Thank you for writing.
This feature is not supported in our current release. We have added it to our TODO list for Q1 2008 release.
Thank you for idea. Your Telerik points have been updated.
Kind regards,
Julian Benkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Thank you for writing.
This feature is not supported in our current release. We have added it to our TODO list for Q1 2008 release.
Thank you for idea. Your Telerik points have been updated.
Kind regards,
Julian Benkov
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
kdev
Top achievements
Rank 1
answered on 22 Jan 2008, 10:15 AM
Hi Manfred,
Waiting for the new tooltip, you can do like that :
toolTip1.SetToolTip(DockPanel1.DefaultPresenter as Control, "Select a Folder "); |
Regards,
kort.
0
ManniAT
Top achievements
Rank 2
answered on 22 Jan 2008, 10:50 AM
Hi Kort,
that's it!
Thanks a lot, really great help.
It does exactly what we have been searching for.
Regards
Manfred
that's it!
Thanks a lot, really great help.
It does exactly what we have been searching for.
Regards
Manfred
0
ManniAT
Top achievements
Rank 2
answered on 22 Jan 2008, 07:28 PM
Hi Kort,
any idea how to make it work in "AutoHide" state?
Your solution (as told above) works like a charm.
But when I switch to AutoHide - the tooltip no longer comes up.
Back to "Docked" - it is there again.
I guess in "AutoHide" a different header control gets used.
Any idea?
Thanks
Manfred
any idea how to make it work in "AutoHide" state?
Your solution (as told above) works like a charm.
But when I switch to AutoHide - the tooltip no longer comes up.
Back to "Docked" - it is there again.
I guess in "AutoHide" a different header control gets used.
Any idea?
Thanks
Manfred
0
ManniAT
Top achievements
Rank 2
answered on 24 Jan 2008, 02:46 PM
Hi,
there is another problem with your solution.
If you start the app in "minimized" DockPanel1.DefaultPresenter is null.
Of course I can overcome this by checking if it is null - and don't set the TT.
But later (if the user restores the window) I don't have a tooltip.
I guess it would also be possible to handle OnResize or something like this.
But this would end in breadcrumps all over my app just to get a tooltip.
And it would (by the way) break my program logic.
What it does is:
At startup it creates a class which reads "text values" (Caption, Text, ToolTip and so on) from a database and then it sets those values on the controls.
So form load creates an instance of this class and next it reads the values and sets the controls.
After this the class is disposed.
With the "wait for window restore idea" I also had to delay disposing this class.
Any help?
Manfred
there is another problem with your solution.
If you start the app in "minimized" DockPanel1.DefaultPresenter is null.
Of course I can overcome this by checking if it is null - and don't set the TT.
But later (if the user restores the window) I don't have a tooltip.
I guess it would also be possible to handle OnResize or something like this.
But this would end in breadcrumps all over my app just to get a tooltip.
And it would (by the way) break my program logic.
What it does is:
At startup it creates a class which reads "text values" (Caption, Text, ToolTip and so on) from a database and then it sets those values on the controls.
So form load creates an instance of this class and next it reads the values and sets the controls.
After this the class is disposed.
With the "wait for window restore idea" I also had to delay disposing this class.
Any help?
Manfred