Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
765
MDI child form, the toolbar is added to the Ribbon.
posted

Hi...

I Use VS2008 and Infragistics WinForm v11.2

I have to been child form the toolbar is dynamic added to the MDI Form RibbonGroup

but Begin a Group is not displayed.

    Public Sub SetChildToolButton(ByRef poToolbar As Infragistics.Win.UltraWinToolbars.UltraToolbar)


        Dim RibbonGroup1 As Infragistics.Win.UltraWinToolbars.RibbonGroup = New Infragistics.Win.UltraWinToolbars.RibbonGroup("ribbonGroup_Child")
        RibbonGroup1.Caption = "Child"

        For Each oTool As Object In poToolbar.Tools
            oTool.InstanceProps.MinimumSizeOnRibbon = Infragistics.Win.UltraWinToolbars.RibbonToolSize.Large
            RibbonGroup1.Tools.AddRange(New Infragistics.Win.UltraWinToolbars.ToolBase() {oTool})
        Next

        UltraToolbarsManager1.Ribbon.Tabs("ribbon1").Groups.Add(RibbonGroup1)

    End Sub

How do I ??

Parents
No Data
Reply Children