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

StartMenu Text Not Showing at Runtime

5 Answers 150 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Patrick Barranis
Top achievements
Rank 1
Patrick Barranis asked on 12 Jun 2010, 12:40 AM
Hello everyone,

       I'm using the Office2010 theme on my RadRibbonBar and I am trying to get the StartMenu to display text (similar to the Office 2010 "File" tab).  I have been able to find the primitives to update through the designer smart tags and the text shows up in the Visual Studio designer perfectly.  My problem is that that text does not appear when I run my application.  I have played with the text's Z-index to see if that was the problem, but I have not been able to figure it out yet.  Any suggestions?  Thanks!

5 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 17 Jun 2010, 10:07 AM
Hello Patrick,

Thanks for contacting us.

Please make sure that the following properties are set the following way:
this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.Text = "File";
this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.ForeColor= Color.White;
this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.DisplayStyle = Telerik.WinControls.DisplayStyle.Text;

I hope this helps. Do not hesitate to write back anytime you need further assistance.

Greetings,
Deyan
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.
0
Patrick Barranis
Top achievements
Rank 1
answered on 17 Jun 2010, 01:39 PM
Hi Deyan,

That worked great; thank you!

However, I can't figure out how to edit the font of that text.  This simple line seems to have no effect:
this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.Font = New Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular); 

I just want to match the font to the rest of my tabs fonts, just like Office 2010 does.

Also, I'm sure this question has been asked somewhere, but if I wanted to do what Office 2010 does and show a full-screen form when someone clicks the Start Menu button, is there a tutorial somewhere on how to do that?

TIA!
0
Deyan
Telerik team
answered on 22 Jun 2010, 04:39 PM
Hello Patrick,

Thanks for getting back to me.

I was not able to reproduce the issue with setting the Font property of the ApplicationButtonElement. Could you please share some further details on where exactly do you set this property so that I can make sure that I am trying to reproduce the case in the correct way?

Currently, the RadApplicationMenu (also used in the RadRibbonBar) does not support a 'full-screen' mode as in Office 2010. However, we are going to consider this behavior and will implement it as soon as possible.

I am looking forward to receiving the requested details.

Thanks for your time.

Greetings,
Deyan
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
0
Patrick Barranis
Top achievements
Rank 1
answered on 22 Jun 2010, 06:17 PM
Hi Deyan,

I have the following 4 lines of code in this order:
        Me.RibbonBar.RibbonBarElement.ApplicationButtonElement.DisplayStyle = Telerik.WinControls.DisplayStyle.Text 
        Me.RibbonBar.RibbonBarElement.ApplicationButtonElement.Text = "SITE 3.0" 
        Me.RibbonBar.RibbonBarElement.ApplicationButtonElement.ForeColor = Color.White 
        Me.RibbonBar.RibbonBarElement.ApplicationButtonElement.Font = New Font("Microsoft Sans Serif", 15.25F, FontStyle.Regular) 
 

I have tried running those 4 lines in the constructor, on the Load event, and on the Shown event.  None of them seem to change the size of the font on the ApplicationButtonElement.

Thanks,
Patrick
0
Accepted
Deyan
Telerik team
answered on 28 Jun 2010, 12:11 PM
Hello Patrick,

Thanks for getting back to me and for the further details on the case.

I am still unable to reproduce the undesired behavior. I would therefore like to ask you to prepare a small Windows Forms application that I can use to reproduce the case and thus be able to provide you with proper assistance.

Since you are not able to attach files in forum threads, I would also ask you to open a new support ticket on the same topic and attach the requested project there.

Thanks for the understanding and for your time.

Regards,
Deyan
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
Tags
RibbonBar
Asked by
Patrick Barranis
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Patrick Barranis
Top achievements
Rank 1
Share this question
or