Add button to RadForm TitleBar

6 posts, 0 answers
  1. Silviu
    Silviu avatar
    5 posts
    Member since:
    Mar 2008

    Posted 06 Dec 2008 Link to this post

    Greetings,

    I would like to add a "Help" button to the form titlebar, right next to the standard Minimize, Maximize, Close buttons. Is there any way to do this?

    Thanks,

    Silviu
  2. Nick
    Admin
    Nick avatar
    767 posts

    Posted 08 Dec 2008 Link to this post

    Hi Silviu,

    Thank you for your question.

    The easiest way is to use a simple RadButton control. Position the button on the title bar and use anchor up and right. Then remove the text from the button control and add an image:

    this.radButton1.Image = Image.FromFile("testimage.jpg"); 

    Do not hesitate to write me back if you have more questions.

    All the best,
    Nick
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Silviu
    Silviu avatar
    5 posts
    Member since:
    Mar 2008

    Posted 17 Dec 2008 Link to this post

    Hi,

    Thanks for the quick response.

    However, I am unable to place the RadButton on the titlebar. The UI designer won't allow it. I tried changing the button coordinates manually, but it shows up behind the titlebar.

    Am I missing anything?

    Thanks,

    Silviu
  5. Nick
    Admin
    Nick avatar
    767 posts

    Posted 18 Dec 2008 Link to this post

    Hi Silviu,

    Select the RadButton control, right click to open its context menu, and then click on Bring to Front.

    Do not hesitate to write me back if you have more questions.

    Kind regards,
    Nick
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Silviu
    Silviu avatar
    5 posts
    Member since:
    Mar 2008

    Posted 18 Dec 2008 Link to this post

    I did try that, but it didn't do the trick. The button is still behind the titlebar. Any other suggestions?


  7. Nick
    Admin
    Nick avatar
    767 posts

    Posted 19 Dec 2008 Link to this post

    Hi Silviu,

    Please send us a sample project in a new support ticket so we can locate the reason for this problem. Thanks.

    Greetings,
    Nick
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top
UI for WinForms is Visual Studio 2017 Ready