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

How to show HelpButton in RadRibbonForm

5 Answers 138 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Karl
Top achievements
Rank 1
Karl asked on 02 Oct 2012, 01:33 AM
Have set HelpButton = True for the RadRibbonForm but unable to get the HelpButton to appear - what other settings need to be changed?(using 2012 Q2)

5 Answers, 1 is accepted

Sort by
0
Anton
Telerik team
answered on 02 Oct 2012, 02:41 PM
Hi Karl,

Thank you for writing.

I tried to reproduce the issue locally but to no avail – everything is working as expected on my side. When ShowHelpButton property is set to true HelpButton must be shown in right top corner as it shown in the attached image.There is nothing other that must be done to show it.If you continue to having problems send as more information so we can investigate the cause of the issue.

I hope this information helps. If you have further questions, feel free to write back.

All the best,
Anton
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
Karl
Top achievements
Rank 1
answered on 03 Oct 2012, 07:54 AM
Hi Anton
There are 3 items to the original question.
First - the original post related to showing the Help button at the <Form> level using a RadRibbonForm. The screenshot you included applied to the help button on a RadRibbonBar on a standard WinForm. Not a major issue - just adding the info here for reference purposes.Using a standard WinForm, the way to get the Help button to show is to set Min/Max buttons to False and FormBorderStyle to anything other than <None>. Seems there is no equivalent to the <FormBorderStyle> property when using a RadRibbonForm and appears to be impossible to disable the ControlBox showing the Min/Max buttons regardless of what the settings are (which appear to come from the RadRibbonBar)

In terms of the showing Help on the RadRibbonBar - problem I encountered on one of the forms was that it would not appear <until> I changed the <AutoSize> setting (or possibly any property related to the Help button but that's the first and only one I tried). as soon as the property was changed. Once that was done, the Help button appeared as expected

The one thing I haven't been able to figure out is how to "enable" the Help button for the RadRibbonBar - what event is specific to that button (i.e. WinForm has the <HelpButtonClicked> event but can't figure out what's comparable for the RRB)

Have attached 2 screen shots showing the above items
1- WFFormHelp.jpg (standard WinForm with a radRibbonBar and Help button at the form level)
2- RadRibbonForm&HelpButtons.jpg - (RadRibbonForm with no form level help button because of the controlbox and the RRB Help button which I can't get enabled)
This is being done via VS2012 - VB.Net in design mode. I've noticed that most samples provided in other threads I've looked at related to forms seem to always be "code based" answers instead of design time property based. Would really appreciate knowing <if> & <what> the the applicable settings would be in standard form design mode if at all possible

0
Accepted
Anton
Telerik team
answered on 05 Oct 2012, 03:07 PM
Hello Karl,

Thank you for writing back.

RadRibbonForm have its own behavior and it does not support showing the help button at Form Level. I have added this as a feature request to our Public Issue Tracking System. Feel free to add your vote for it here: http://www.telerik.com/support/pits.aspx#/public/winforms/12835.

I have added 500 Telerik Points to your account for this request.

As to the issue with displaying the help button in RibbonBar I was not able to reproduce it locally. To show this help button you only need to set the ShowHelpButton property to true. There is no need to change any other property. For my tests I was using VS 2012 with VB project and RadRibbonForm.

A sample project which I have used in my tests and a video demonstrating my approach are attached to this post. Could you please take a look at it and let me know if I am missing something. This will allow me to investigate this case and provide you with further support. Please note that the video opens in browser and requires Shockwave flash player installed.

To handle the Click event of the help button in RibbonBar you can use follow snippet:
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    AddHandler Me.RadRibbonBar1.HelpButton.Click, AddressOf HelpButton_click
End Sub
 
Sub HelpButton_click(sender As Object, e As EventArgs)
    MessageBox.Show("Clicked")
End Sub

Thank you in advance for your collaboration. I am looking forward to your reply.

Regards,
Anton
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
Karl
Top achievements
Rank 1
answered on 05 Oct 2012, 04:20 PM
Thanks Anton - missed the Inherits statement - all good.
0
Anton
Telerik team
answered on 09 Oct 2012, 01:31 PM
Hi Karl,

I am glad to hear that everything is now OK on your end.

If you have further questions, feel free to write back.

Regards,
Anton
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
RibbonBar
Asked by
Karl
Top achievements
Rank 1
Answers by
Anton
Telerik team
Karl
Top achievements
Rank 1
Share this question
or