Minimize and Maximize

12 posts, 0 answers
  1. Paul
    Paul avatar
    25 posts
    Member since:
    Jul 2010

    Posted 18 Mar 2011 Link to this post

    Hi

    I want to remove the Minimize and Maximize buttons on a ribbonbar and the normal properties do not seem to work either on the actual form or ribbonbar control.

    Any help would be appreciated.


    Regards


    Paul.
  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 21 Mar 2011 Link to this post

    Hello,

    You can remove the buttons on the RadRibbonBar in the following way:

    this.radRibbonBar1.MinimizeButton = false;
    this.radRibbonBar.MaximizeButton = false;
    this.radRibbonBar.CloseButton = false;

    Hope that helps but please let me know if you need more information
    RIchard
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Paul
    Paul avatar
    25 posts
    Member since:
    Jul 2010

    Posted 21 Mar 2011 Link to this post

    Hi Richard

    I had  already tried what you suggested and it didn't work.

    I'm using the latest Telerik version Q1 2011 and using VS2010 on a windows 7 pc. if that helps.


    Thanks for your help.


    Regards


    Paul.
  5. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 21 Mar 2011 Link to this post

    Hi Paul,

    On a RadRibbonForm (not just a RadRibbonBar) I can replicate your issue. I'll see if I can find out how to set this correctly for you and let you know.
    Regards,
    Richard
  6. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 21 Mar 2011 Link to this post

    Hi again Paul,

    Ok, the issue seems to be around the Aero setting. If you set the property for the form
    this.radRibbonForm1.AllowAero = false;
     you can then control the Minimize / Maximize buttons on the RadRibbonBar as above
    this.radRibbonBar1.MinimizeButton = false
    this.radRibbonBar.MaximizeButton = false
    this.radRibbonBar.CloseButton = false;

    I hope this helps, but please let me know if you have any questions
    Richard
  7. Paul
    Paul avatar
    25 posts
    Member since:
    Jul 2010

    Posted 21 Mar 2011 Link to this post

    Hi Richard

    Yes that works fine as long as you don't want the Aero effect which I'm not too bothered about. Others may be I suppose.

    Thanks for working it out and letting me know. Much appreciated.


    Regards


    Paul.
  8. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 21 Mar 2011 Link to this post

    Hi Paul,

    You're welcome. Please remember to mark as answer.
    Many thanks
    Richard

    p.s - I'll write a support ticket for this one to report it as a fault.
    richard
  9. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 22 Mar 2011 Link to this post

    Hi guys,

    Thank you for writing. 

    This is a known issue, which is already present in our PITS system. Please follow this link in order get notified about of its status updates. Additionally, you can vote for it in order to increase its priority status.

    Thank you for reporting it anyway.

    Kind regards,
    Ivan Todorov
    the Telerik team
  10. Denis
    Denis avatar
    2 posts
    Member since:
    May 2012

    Posted 25 Jul 2012 Link to this post

    This solution isn't working for me: 
    this.radRibbonForm1.AllowAero = false; 

    The name of my forms is something other than the default and I've noticed that sometimes messes things up. Besides, I'm not using the Aero theme so I don't see why this would matter... any other ideas?            

    Using 2012.02.606 0

    -Steve

  11. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 30 Jul 2012 Link to this post

    Hi Denis,

    Thank you for writing.

    Could you please open a new support ticket and attach the problematic project there, so we can investigate it and provide you with a solution is possible.

    Regards,
    Stefan
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
  12. Denis
    Denis avatar
    2 posts
    Member since:
    May 2012

    Posted 09 Aug 2012 Link to this post

    Thanks.. I resolved this issue so I'm not going to open a ticket on this one.  I am going to open a ticket on the ListView control however. 
  13. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 14 Aug 2012 Link to this post

    I am glad to hear that you have resolved this case. Feel free to open the ticket about RadListView.
     
    Greetings,
    Stefan
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Back to Top
UI for WinForms is Visual Studio 2017 Ready