Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Ribbonbar > maximised RadRibbonForm

Not answered maximised RadRibbonForm

Feed from this thread
  • Afraei avatar

    Posted on Jun 10, 2012 (permalink)

    Hello,

    I have crated a RadRibbonBar in a RadRibbonForm and changed WindowState property to Maximized but my auto-hide task-bar will not appeared by the mouse. how could I correct it?

    Regards

    Reply

  • Ivan Todorov Ivan Todorov admin's avatar

    Posted on Jun 13, 2012 (permalink)

    Hello Arfei,

    Thank you for contacting us.

    This appears to be an issue in RadRibbonForm. I have logged it in our Public Issue Tracking System so you can track it and vote for it. We will address it in a future release. Here is the link to the PITS item.

    For the time being, you can try using the following workaround:
    public partial class Form1 : RadRibbonForm
    {
        public Form1()
        {
            InitializeComponent(); 
        }
        protected override FormControlBehavior InitializeFormBehavior()
        {
            return new MyFormBehavior(this);
        }
        private class MyFormBehavior : RadRibbonFormBehavior
        {
            public MyFormBehavior(IComponentTreeHandler treeHandler)
                : base(treeHandler, true)
            {
     
            }
            public override Padding ClientMargin
            {
                get
                {
                    if (!this.CompositionEffectsEnabled
                    || this.Form.IsDesignMode)
                    {
                        return this.BorderWidth;
                    }
                    else
                    {
                        return new Padding(
                            SystemInformation.FrameBorderSize.Height,
                            0,
                            SystemInformation.FrameBorderSize.Height,
                            SystemInformation.FrameBorderSize.Height + 1);
                    }
                }
            }
        }
    }

    You might notice a thin black line next to the bottom border of the form as a result from this workaround. However, this is the only approach I can suggest by this moment.

    Your Telerik points have been updated for bringing this issue to our attention.

    Feel free to write back if you have any additional questions.

    Greetings,
    Ivan Todorov
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>

    Reply

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.
  • Afraei avatar

    Posted on Jun 13, 2012 (permalink)

    Hello Ivan,

    Thank you so much.

    I want to use RadRibbonBar, so which kinds of Telerik form could I use instead of RadRibbonForm without this problem?

    For now, could you please give me a sample project that includes your suggested workaround?

    I appreciate your kindly help in advance.

    Regards

    Reply

  • Ivan Todorov Ivan Todorov admin's avatar

    Posted on Jun 14, 2012 (permalink)

    Hello Afraei,

    RadRibbonForm is designed especially to be used with RadRibbonBar. You can try using RadForm, but it will not look properly when used with a RadRibbonBar - you will get double title bar, two sets of system buttons and the application button will not be positioned where it is expected to be.

    I am sending you a sample project which demonstrates the workaround that I have proposed.

    I hope this helps. Feel free to ask if you have any additional questions.

    All the best,
    Ivan Todorov
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>

    Reply

  • Afraei avatar

    Posted on Jun 15, 2012 (permalink)

    Hello dear Ivan,

    Firstly, thank you for your help.

    I ran your sample project but still the RadRibbonForm doesn't allow taskbar to appear by mouse.

    Regards

    Reply

  • Ivan Todorov Ivan Todorov admin's avatar

    Posted on Jun 19, 2012 (permalink)

    Hello Argei,

    The solution I have send you works correctly on my end. Can you please provide some information about the system you are running on: OS version, language and localization settings, color scheme / OS theme, DPI and resolution settings. This will let me provide you with a proper solution and help us in resolving the issue at a later stage.

    Thank you for your cooperation.

    Kind regards,
    Ivan Todorov
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>

    Reply

  • Afraei avatar

    Posted on Jun 24, 2012 (permalink)

    Hello,

    Information about the system:
    • OS: XP SP3,
    • Language: english,
    • Color Quality: highest (32 bit)
    • DPI: 96,
    • Resolution: 1280*800

    However, in your sample project didn't exist any *.sln so maybe I did a mistake to use your appreciated sample project. Could you please give me your project by its *.sln?

    Thank you for your kindly help
    Regards

    Reply

  • Boryana Boryana admin's avatar

    Posted on Jun 27, 2012 (permalink)

    Hi Afraei,

    Thank you for writing back.

    Please try the attached modified application and let me know whether it addresses the issue you experience.

    I am looking forward to your reply.

    Greetings,
    Boryana
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>

    Reply

  • Afraei avatar

    Posted on Jun 27, 2012 (permalink)

    Hello dear Boryana,

    When i want to start debugging by F5 it shows some errors as below:

    Error    1    The type or namespace name 'UI' does not exist in the namespace 'Telerik.WinControls' (are you missing an assembly reference?)    D:\369483_WindowsFormsApplication48\Form1.cs    8    27    WindowsFormsApplication48
    Error    2    The type or namespace name 'RadRibbonForm' could not be found (are you missing a using directive or an assembly reference?)    D:\369483_WindowsFormsApplication48\Form1.cs    13    34    WindowsFormsApplication48
    Error    3    The type or namespace name 'FormControlBehavior' could not be found (are you missing a using directive or an assembly reference?)    D:\369483_WindowsFormsApplication48\Form1.cs    20    28    WindowsFormsApplication48
    Error    4    The type or namespace name 'RadRibbonFormBehavior' could not be found (are you missing a using directive or an assembly reference?)    D:\369483_WindowsFormsApplication48\Form1.cs    25    40    WindowsFormsApplication48
    Error    5    The type or namespace name 'IComponentTreeHandler' could not be found (are you missing a using directive or an assembly reference?)    D:\369483_WindowsFormsApplication48\Form1.cs    27    35    WindowsFormsApplication48
    Error    6    The type or namespace name 'MinMaxInfo' could not be found (are you missing a using directive or an assembly reference?)    D:\369483_WindowsFormsApplication48\Form1.cs    33    53    WindowsFormsApplication48
    Error    7    The type or namespace name 'UI' does not exist in the namespace 'Telerik.WinControls' (are you missing an assembly reference?)    D:\369483_WindowsFormsApplication48\Form1.Designer.cs    89    37    WindowsFormsApplication48

    How to solve these errors?

    Thank you very much
    Regards

    Reply

  • Boryana Boryana admin's avatar

    Posted on Jul 2, 2012 (permalink)

    Hello Afraei,

    Thank you for writing back.

    Have you checked your project references? You should have WinControls, WinControls.UI and TelerikCommon dlls added to your project.

    Greetings,
    Boryana
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>

    Reply

  • Afraei avatar

    Posted on Jan 10, 2013 (permalink)

    Hello dear Boryana,

    Firstly, pardon me for the long delay to reply.

    My problem was solved by your appreciated help but I would like to ask you that which version of Telerik creates (by default) RadRibbonForm without this problem? Or still we have to alter the code manually and should see that thin black line next to the bottom border of the form?
    Is it possible to remove that thin black line?

    Thank you in advance.
    Regards

    Reply

  • Ivan Todorov Ivan Todorov admin's avatar

    Posted on Jan 14, 2013 (permalink)

    Hi Afraei,

    The issue has not been addressed yet. You can subscribe to the PITS item I have previously logged and track it for any progress. You can also vote for it to increase its priority. As it gets more votes, we will consider scheduling it for a next release.

    Should you have any other questions, feel free to ask.

    Kind regards,
    Ivan Todorov
    the Telerik team
    Q3'12 SP1 of RadControls for WinForms is out now. See what's new.

    Reply

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Ribbonbar > maximised RadRibbonForm
Related resources for "maximised RadRibbonForm"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]