Is there any balloon control or similar?

10 posts, 2 answers
  1. Tajes
    Tajes avatar
    81 posts
    Member since:
    Sep 2009

    Posted 18 May 2010 Link to this post

    Hello,
    I'm wondering if is there any control that display a balloon over another control to display information. Something similar to the notices of windows SO system tray but in our aplication and over a button for example, and of course more powerfull than a simple tooltip. Where I can insert controls like buttons, textbox, etc...
    Thanks!
  2. Answer
    Jack
    Admin
    Jack avatar
    2333 posts

    Posted 21 May 2010 Link to this post

    Hi Iván Tajes,

    Yes, this is possible for all rad elements by using screen tips. For RadButton for example you have to handle ScreenTipNeeded event. Here is a sample:

    button1.ScreenTipNeeded += new ScreenTipNeededEventHandler(button1_ScreenTipNeeded);
     
    void button1_ScreenTipNeeded(object sender, ScreenTipNeededEventArgs e)
    {
        RadOffice2007ScreenTipElement screenTip = new RadOffice2007ScreenTipElement();
        screenTip.CaptionLabel.Margin = new Padding(3);
        screenTip.CaptionLabel.Text = "Sample";
        screenTip.MainTextLabel.Text = "description";
        e.Item.ScreenTip = screenTip;
    }

    Screen tips are rad controls and you can place any rad element inside. I hope this helps. If you need further assistance, I will be glad to help.
     

    All the best,
    Jack
    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Tajes
    Tajes avatar
    81 posts
    Member since:
    Sep 2009

    Posted 23 May 2010 Link to this post

    Thank you Jack, great job.
  5. Tajes
    Tajes avatar
    81 posts
    Member since:
    Sep 2009

    Posted 24 May 2010 Link to this post

    Hi Jack,

    But How can I clic inside the screenTip and put a little button to close it?
    Thanks for your time.
  6. Answer
    Nikolay
    Admin
    Nikolay avatar
    1804 posts

    Posted 27 May 2010 Link to this post

    Hi Iván Tajes,

    By specification RadScreenTip/RadToolTip is shown only when you hover an item that has a RadScreenTip/RadToolTip assigned. If you try to hover the tooltip itself, normally it will become hidden, because your mouse is not on the item of interest anymore. Considering this information, you cannot click a button, even though you can insert a button element in RadScreenTip.

    We will consider implementing a generic popup control that will be suitable for your needs. However, I am not able to provide you with any specific time frame about it.

    All the best,
    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.
  7. Sandeep Nair
    Sandeep Nair avatar
    1 posts
    Member since:
    Nov 2004

    Posted 22 Jun 2011 Link to this post

    I have 2009 version of RAD Controls. Is there some way to fasten teh  tooltip display. Currenty the tooltip takes long time to display  the text.
  8. Nikolay
    Admin
    Nikolay avatar
    1804 posts

    Posted 27 Jun 2011 Link to this post

    Hello Sandeep,

    You can subscribe to the ScreenTipNeeded event of a RadControl and set the Delay in the event handler, for example:
    privatevoidradButton1_ScreenTipNeeded(objectsender, ScreenTipNeededEventArgs e)
    {
      RadOffice2007ScreenTipElement screenTip = newRadOffice2007ScreenTipElement();
      screenTip.CaptionLabel.Margin = newPadding(3);
      screenTip.CaptionLabel.Text = "Sample";
      screenTip.MainTextLabel.Text = "On the Insert tab, the galleries include items that are designed to "+
        "coordinate with the overall look of your document. You can use these galleries to insert tables,"+
        "headers, footers, lists, cover pages, and other document building blocks. When you create pictures, charts, or"+
        "diagrams, they also coordinate with your current document look";
       
      e.Delay = 50;
      radButton1.ButtonElement.ScreenTip = screenTip;
    }

    This will show a ScreenTip in the specified time frame. The same customization is not available for RadToolTip though.

    I hope this helps.

    Greetings,
    Nikolay
    the Telerik team
    Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
  9. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 01 Jul 2011 Link to this post

    Hi All,

    In addition to the answers here, you might also want to take a look at my Code Library Article which gives a sort of Tool Tip manager where you can change tooltips to a baloon style.

    Hope that also helps
    Richard
  10. Karl
    Karl avatar
    172 posts
    Member since:
    Jun 2009

    Posted 22 May 2012 Link to this post

    Hi,

    Is there any way to get more information to the to the tool tip? Ie I have more information in the "Descrtiption" field and would like to show it in the tool tip as it would be to big for the appointment area itself.

    Thanks
  11. Karl
    Karl avatar
    172 posts
    Member since:
    Jun 2009

    Posted 22 May 2012 Link to this post

    Hi,

    Found it:

    AppointmentElement

     

     

    appointmentElement = e.Item as AppointmentElement;

     

     

     

     

    if (appointmentElement != null)

     

    {

    screenTip.MainTextLabel.Text = appointmentElement.Appointment.Description;

    appointmentElement.ScreenTip = screenTip;

    }

Back to Top
UI for WinForms is Visual Studio 2017 Ready