Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
465
ToolTip in UltraComboEditor buttons
posted

Hello,

I have a UltraComboEditor with 2 button's (ButtonsRight). It's possible put tooltip in these buttons?

Tks

  • 469350
    Offline posted

    Hi,

    The inbox Tooltips and the UltraToolTipManager component apply tooltips to a control. So since those buttons are not controls, you cannot apply a tooltip to them directly.

    If you want to apply a tooltip to part of a control, then you can do this in a couple of ways. One way to is to change the control's tooltip based on the current position of the mouse. This can be a bit tricky, because you have to clear the tooltip when the mouse moves over some parts of the control and set it on others. There's a sample included with NetAdvantage under the WinMisc samples:

    ...\2009.2\Samples\WinMisc\CS\ToolTipManager\ToolTips with Context CS

    This sample shows how to provide tooltips in different parts of the grid, so you could adapt it to work with UltraComboEditor for the buttons.

    Another option would be to use a CreationFilter to apply tooltips to the EditorButtonUIElements directly.