Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Toolstrip (obsolete as of Q3 2010) > MDI merging RadToolbar & RadMenu

Not answered MDI merging RadToolbar & RadMenu

Feed from this thread
  • James Relyea avatar

    Posted on Dec 10, 2009 (permalink)

    I've seen some posts about merging toolbars. My impression is that it can be done, but not something that's currently built in. Am I correct? If it is built in, could someone point me to the necessary steps?

    I have this scenario: I have a MDI form that opens MDI child forms as document windows. Each MDI child has its own RADToolbar that I'd prefer to have merged with the MDI parent's RADToolbar like VS does.

    Thanks

    :)
    jr

    Reply

  • Nick Nick admin's avatar

    Posted on Dec 11, 2009 (permalink)

    Hello James Relyea,

    Thank you for your interest in our controls for WinForms. Unfortunately MDI merge for toolbars is not currently implemented and it has not been scheduled for the next release.

    All the best,
    Nick
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

    Reply

  • James Relyea avatar

    Posted on Dec 13, 2009 (permalink)

    I might've found a way to accomplish this. Time will tell though, but it only takes a few lines of code. The general logic looks like this:

    MDI Child forms: make a public property of a RADToolBar item or element
    MDI Parent with the RADDock set to autodiscover MDI Children: On the ActiveWindowChanged method, clear the items, declare a new form = the DockWindow.ActiveControl (this is where I'm not sure what will go awry with resource consumption yet), Then, on the MDI parent, add the items made available via the public property of the child form

    It's working so far for me, but I can see where it could be tricky to manage if a number of toolbar elements are used.

    If I run a SuspendLayout & resumelayout, the screen doesn't shift at all and the entire transition is silky smooth.

    :)
    jr

    Reply

  • Nick Nick admin's avatar

    Posted on Dec 14, 2009 (permalink)

    Hello James Relyea,

    Thank you for feedback. I am glad that you find a solution for the case.

    Kind regards,
    Nick
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Toolstrip (obsolete as of Q3 2010) > MDI merging RadToolbar & RadMenu
Related resources for "MDI merging RadToolbar & RadMenu"

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