ScreenTip for StartButton

4 posts, 0 answers
  1. dennis_dieckmann
    dennis_dieckmann avatar
    1 posts
    Member since:
    Apr 2007

    Posted 21 Apr 2007 Link to this post

    Hello,

    I'm wondering if it isn't possible to add a ScreenTip to the StartButton like in Office 2007.

    Please tell me how I can create a ScreenTip there, if it's possible.
    (VB please)

    Thank you so far

    Dennis Dieckmann
  2. Dimitar Kapitanov
    Admin
    Dimitar Kapitanov avatar
    632 posts

    Posted 24 Apr 2007 Link to this post

    Hi Dennis Dieckmann,

    Unfortunately the application level button in the Ribbon UI is not directly accessible at present. We will address this issue in the upcoming SP1 release. Sorry for the inconvenience.


    Regards,
    Dimitar Kapitanov
    the telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Anna P
    Anna P avatar
    1 posts
    Member since:
    Feb 2010

    Posted 09 May 2010 Link to this post

    Hello,
    Could You tell me if it's possible to add a ScreenTip to the StartButton in Q1/2010?
    Could You please also tell me how I can create a screenTip for the button on QuickAccessToolBar that appear like the ones in Office 2007 (e.g. right below the button they are linked to). At this moment screenTip for the button on QuickAccessToolBar appears below ribbon (standard tooltip appears on right position - below the button).

    Thanks in advance
    Anna
  5. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 17 May 2010 Link to this post

    Hi Anna P,

    Thank you for the question.

    Please refer to the following code snippet which demonstrates how you can assign a ScreenTip to the start button and how to show a ScreenTip below the buttons of the RadQuickAccessToolbar:
    void radRibbonBar1_ScreenTipNeeded(object sender, Telerik.WinControls.ScreenTipNeededEventArgs e)
    {
        RadOffice2007ScreenTipElement screenTip = e.Item.ScreenTip as RadOffice2007ScreenTipElement;
      
        if (e.Item is ActionButtonElement)
        {
            if (screenTip == null)
            {
                screenTip = new RadOffice2007ScreenTipElement();
            }
      
            this.radRibbonBar1.Behavior.ShowScreenTipsBellowControl = true;
            screenTip.MainTextLabel.Text = "Sample Text";
            e.Item.ScreenTip = screenTip;
      
            return;
        }
      
        if (e.Item.Parent != null && e.Item.Parent.Parent.Parent != null
            && e.Item.Parent.Parent.Parent.Parent != null && e.Item.Parent.Parent.Parent.Parent.Parent != null)
        {
            if (e.Item.Parent.Parent.Parent.Parent is RadQuickAccessToolBar)
            {
                if (screenTip == null)
                {
                    screenTip = new RadOffice2007ScreenTipElement();
                }
      
                this.radRibbonBar1.Behavior.ShowScreenTipsBellowControl = false;
                screenTip.MainTextLabel.Text = "QuickAccessButton";
                e.Item.ScreenTip = screenTip;
            }
        }
    }

    As you can notice, you need to set the ShowScreenTipsBellowControl property to false, when the screentip invoker is a button of RadQuickAccessToolbar.

    I hope that this information is helpful.

    Sincerely yours,
    Nikolay
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top