Hello,
I want to display tool tip on the ultra button....i m unable to find such property for setting the tool tip.....please help me regarding how to set the tool top on the button.
Thank You
Regards:
M Imtiaz Sharif
Hi,
The UltraButton is no different than any other contorl in this regard. You can create tooltips either using the Inbox ToolTip component or the UltraTooltipManager component.
I'm pretty sure that the Mouse events don't fire for a disabled control, so there's no way for the ToolTipManager to detect that the mouse is over it and show the tooltip.
If you can detect that the mouse is over the control, you can use the ShowToolTipMethod on the UltraToolTipManager to show a tooltip any time you want, though.
Well, if you really want to do this, I think you can cheat. What if you put another control like a PictureBox or a Panel on top of the button in the same location and applied a Tooltip to that control? You could set the BackColor on the "dummy" control to Transparent so you can still see the disabled button.
Please refer the following Link
http://www.devnewsgroups.net/group/microsoft.public.dotnet.framework.windowsforms/topic53273.aspx
Regards
Sivaram
Hi Mike,
I tried with UltraToolTipManager but did not worked. Isn't it a bug in "UltraToolTipManager"?
This is a very late reply on that thread but I had same issues with that and when I was searching for a solution I found this thread that helped me to solve it. I want to share my results with others so that's the reason for writing this post.
I've several checkboxes on my GUI that just show information but the user may not change the checked status so I disabled the checkboxes. I want to set a tooltip for that checkboxes but since they are disabled the tooltip never showed up.
I took up Mike Saltzman's tipp to place a control on top of the checkbox, make it transparent and show the tooltip for it. I started with an UltraPanel-control that I put onto the checkbox, set same size and Back Color to transparent but the checkbox was hidden. I changed the z-Order but the checkbox remained hidden. I searched for that problem, found an interesting hint telling that for Windows Forms transparency only works if the control to be transparent is a child of the control that it covers. It does not work with sibling controls. In my case both the checkbox and the panel where child controls of the form thus being siblings.
I changed it so that the panel was a child of the checkbox and voila, the panel suddenly was transparent and I could see the checkbox. I set the tooltip for the panel but it didn't show any tooltip. I then realized that no tooltip is shown at all on the UltraPanel if I'm using UltraToolTipManager and setting the text in the designer.
In next step I replaced the UltraPanel by an UltraPictureBox that shows a tooltip when I hovered over it. I set the PictureBox as child of the CheckBox and then the tooltip still didn't show up but that problem was rather obvious. Since the PictureBox is a child of CheckEditor which is disabled also the PictureBox is disabled. I enabled the Checkbox and the tooltip gets shown on the PictureBox. Since the PictureBox entirely hides the CheckBox it cannot be selected at all thus it is more or less disabled. There may be visual differences on controls like textboxes etc. if they are enabled by the settings but since they are hidden by overlaying picture box they are disabled but still look enabled to the user.
Regards, Wolfgang
Hi Sivaram,
If this works with the InBox tooltip class and not for the UltraToolTipManager, then you are right, it sounds like a bug. You should Submit an incident to Infragistics Developer Support.