This is a migrated thread and some comments may be shown as answers.

Add button to RadForm TitleBar

5 Answers 311 Views
TitleBar
This is a migrated thread and some comments may be shown as answers.
Silviu
Top achievements
Rank 1
Silviu asked on 06 Dec 2008, 02:28 PM
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

5 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 08 Dec 2008, 04:55 PM
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.
0
Silviu
Top achievements
Rank 1
answered on 17 Dec 2008, 02:16 PM
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
0
Nick
Telerik team
answered on 18 Dec 2008, 04:48 PM
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.
0
Silviu
Top achievements
Rank 1
answered on 18 Dec 2008, 05:15 PM
I did try that, but it didn't do the trick. The button is still behind the titlebar. Any other suggestions?


0
Nick
Telerik team
answered on 19 Dec 2008, 03:44 PM
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.
Tags
TitleBar
Asked by
Silviu
Top achievements
Rank 1
Answers by
Nick
Telerik team
Silviu
Top achievements
Rank 1
Share this question
or