RibbonBar Mdi Window List

3 posts, 0 answers
  1. Tim
    Tim avatar
    4 posts
    Member since:
    May 2008

    Posted 02 Jun 2008 Link to this post


    I want to show the current windows in my mdi form on a button dropdown. I can get it to work with a basic menu i.e But need to have this add to the Ribbonbar - anyone help


    'Setup MDI stuff

    Me.IsMdiContainer = True

    'Add File Menu

    Dim miFile As MenuItem = MainMenu.MenuItems.Add("&File")

    miFile.MergeOrder = 0

    miFile.MergeType = MenuMerge.MergeItems

    Dim miAddDoc As MenuItem = New MenuItem("&Add Document", New EventHandler(AddressOf Me.FileAdd_Clicked), Shortcut.CtrlA)

    miAddDoc.MergeOrder = 100

    Dim miExit As MenuItem = New MenuItem("E&xit", New EventHandler(AddressOf Me.FileExit_Clicked), Shortcut.CtrlX)

    miExit.MergeOrder = 110



    "-") ' Gives us a seperator


    'Add Window Menu

    Dim miWindow As MenuItem = MainMenu.MenuItems.Add("&Window")

    miWindow.MergeOrder = 10


    "&Cascade", New EventHandler(AddressOf Me.WindowCascade_Clicked))


    "Tile &Horizontal", New EventHandler(AddressOf Me.WindowTileH_Clicked))


    "Tile &Vertical", New EventHandler(AddressOf Me.WindowTileV_Clicked))

    miWindow.MdiList =

    True 'Adds the MDI Window List to the bottom of the menu

  2. Peter
    Peter avatar
    1148 posts

    Posted 03 Jun 2008 Link to this post

    Hello Tim,

    Thank you for your interest in RadRibbonBar.

    Could you specify in which path of the RibbonBar you want to add these menu items? In case you want to add menu items in Ribbon's StartMenu, you can access the StartMenu using the code below:


    Be aware that the RibbonBar is not designed (regarding the MS UI Guidelines) to support MDI applications and includes only the Min, Restore and Close buttons for the child forms. Examine the RibbonBar examples in the Quick Start Framework to get familiar with the functionality of the ribbon.

    I hope this helps.

    All the best,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft R3 2016 release webinar banner
  4. Tim
    Tim avatar
    4 posts
    Member since:
    May 2008

    Posted 03 Jun 2008 Link to this post

    Hi Peter

    Thanks for the reply, i will change or drop the idea of mdi windows in the app.


Back to Top