MDI Windows

5 posts, 0 answers
  1. avner
    avner avatar
    11 posts
    Member since:
    Feb 2008

    Posted 24 Feb 2008 Link to this post

    Hi,

    Some questions re WinForms Q2 2007 menustrip.

    1. Is there a away to change the order of menu items using the designer?

    2. Is there a dedicated menu designer somewhere? I.e. not the inline designer

    3. Is there an easy way to show all opened MDI windows in the Window menu?


    thanks
  2. avner
    avner avatar
    11 posts
    Member since:
    Feb 2008

    Posted 24 Feb 2008 Link to this post

    I've made some progress.. I discovered the visual style builder - however I can't launch it from the smart tag on the menustrip.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 25 Feb 2008 Link to this post

    Hello avner,

    Thank you for contacting us. I will try to answer your questions here:
    1. You are able to change the order of menu items by using the Items collection editor
      1. Click on the menu
      2. Select the smart tag
      3. Choose the Edit items option
      4. Use the up and down arrows to reorder menu items
      1. Click on the menu
      2. Select the smart tag
      3. Choose the Edit items option
      4. Use the up and down arrows to reorder menu items
    2. RadMenu doesn't have a dedicated external designer.
    3. The simplest way to get all opened MDI windows is to iterate through the MdiChildren collection. Consider the sample snippet below:
    this.radMenuItem2.Items.Clear(); 
    foreach (Form form in this.MdiChildren) 
        this.radMenuItem2.Items.Add(new RadMenuItem(form.Text)); 
    }  
     

    I hope this helps. Do not hesitate to write us, if you need further assistance.

    Sincerely yours,
    Jack
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. avner
    avner avatar
    11 posts
    Member since:
    Feb 2008

    Posted 25 Feb 2008 Link to this post

    Thanks for those answers. I couldn't access those smart tags, probably because I don't have a reference to Telerik.WinControls.UI.Design. After adding the reference I still couldn't.

    Any ideas how I can bring back the smarttags without dropping a new menu onto my form?


    regards,

    Avner
  6. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 26 Feb 2008 Link to this post

    Hi avner,

    Thank you for getting back to us.

    Yes, the Telerik.WinControls.UI.Design assembly is needed by our controls in order to behave correctly at design time. This assembly must be added to the Global Assembly Cache (GAC). I suggest removing all references from your project, reinstalling the RadControls for Winforms suite and adding the references again.

    I hope this helps. Let us know, if you need further assistance.

    Regards,
    Jack
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for WinForms is Visual Studio 2017 Ready