When using the ribbon control it has its own title bar but I can't figure out how to delete the standard window title bar and frame to look like the Office2007 apps. The example also skins the standard window frame but I can't follow how it works either. Any help is appreciated during this evaluation period.
6 Answers, 1 is accepted
0
Hi Wayne,
To hide the standard title bar and to make your application look like Office 2007 you should inherit your form from ShapedForm. Here is a sample code you can use:
Best wishes,
Tsvetan Raikov
the telerik team
To hide the standard title bar and to make your application look like Office 2007 you should inherit your form from ShapedForm. Here is a sample code you can use:
using System;
using System.Windows.Forms;
using Telerik.WinControls;
using Telerik.WinControls.UI;
public partial class Form1: ShapedForm
{
public Form9()
{
this.Shape = new RoundRectShape(5);
this.BorderColor = Color.Blue;
this.BorderWidth = 2;
InitializeComponent();
}
Best wishes,
Tsvetan Raikov
the telerik team
0
wuniat
Top achievements
Rank 1
answered on 31 Jan 2007, 04:45 PM
Excellent! Thanks Tsvetan.
0
Daniel
Top achievements
Rank 1
answered on 06 Feb 2008, 09:08 AM
Can you explain how it will work in vb.NET.
[edit]
Ok now it works. But now I`ve got a problem, when I maximize my application. Then the programm is shown over the size of the screen. I think about 3 or 4 pixels. How can i fix this?
[/edit]
Thanks Daniel
[edit]
Ok now it works. But now I`ve got a problem, when I maximize my application. Then the programm is shown over the size of the screen. I think about 3 or 4 pixels. How can i fix this?
[/edit]
Thanks Daniel
0
Hello Daniel,
Can you confirm that the project that I have attached with references to v5.0.0.0 still produces this issue? I was not able to reproduce it locally, so please make sure that your video card and monitor settings are properly adjusted in order to view the entire client area.
If you need additional assistance, do not hesitate to contact us.
Kind regards,
Nikolay
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Can you confirm that the project that I have attached with references to v5.0.0.0 still produces this issue? I was not able to reproduce it locally, so please make sure that your video card and monitor settings are properly adjusted in order to view the entire client area.
If you need additional assistance, do not hesitate to contact us.
Kind regards,
Nikolay
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Daniel
Top achievements
Rank 1
answered on 06 Feb 2008, 12:23 PM
Hello,
the Problem is the same. I tryed it in VSS 2005 and also in VSS 2008 Express. And I tryed it on diverent workstations. Always with the same result.
You can see it here. Hardcopy
Code of Programm.vb
Code of Form1.vb
I use the RibbonBar Component from the VSS 2008 Express Goods.
Thx Daniel
the Problem is the same. I tryed it in VSS 2005 and also in VSS 2008 Express. And I tryed it on diverent workstations. Always with the same result.
You can see it here. Hardcopy
Code of Programm.vb
Imports Microsoft.VisualBasic |
Imports System |
Imports System.Collections.Generic |
Imports System.Windows.Forms |
Namespace WindowsApplication1 |
Friend Class Program |
''' <summary> |
''' The main entry point for the application. |
''' </summary> |
Private Sub New() |
End Sub |
<STAThread()> _ |
Shared Sub Main() |
Application.EnableVisualStyles() |
Application.SetCompatibleTextRenderingDefault(False) |
Application.Run(New Form1()) |
End Sub |
End Class |
End Namespace |
Code of Form1.vb
Imports System |
Imports System.Windows.Forms |
Imports Telerik.WinControls |
Imports Telerik.WinControls.UI |
Partial Public Class Form1 |
Inherits ShapedForm |
Public Sub form1() |
InitializeComponent() |
End Sub |
End Class |
I use the RibbonBar Component from the VSS 2008 Express Goods.
Thx Daniel
0
Hello Daniel,
You experience this issue because you are using an older version of RadRibbonBar. We have fixed it and the issue does not persist in the current release. Please, find additional information in the support ticket about wiring the Exit button in your Client.Net account.
Regards,
Nikolay
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You experience this issue because you are using an older version of RadRibbonBar. We have fixed it and the issue does not persist in the current release. Please, find additional information in the support ticket about wiring the Exit button in your Client.Net account.
Regards,
Nikolay
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center