How to create specialized controls? Button Pop-up, Button MRU Split, etc

How to create specialized controls? Button Pop-up, Button MRU Split, etc

Anonymous
Not applicable
330 Views
0 Replies
Message 1 of 1

How to create specialized controls? Button Pop-up, Button MRU Split, etc

Anonymous
Not applicable

 

I can create the regular button, but I cannot create any specialized controls.

If anyone has an example, could you please to help me?

I see the MRU button sample in Help, but it uses CommandBarControl. I try to use CommandControl, but it doesn't work

 

Private Sub CreateOrUpdateRibbonInterface()

 

 

     oRibbon0 = m_inventorApplication.UserInterfaceManager.Ribbons.Item("ZeroDoc")

 

     Dim oQAT0 AsCommandControls

 

     oQAT0 = oRibbon0.QuickAccessControls

     Dim oCustomControl AsCommandControl

     oCustomControl = oQAT0.AddButtonPopup(m_Button0Def)

     oCustomControl.ChildControls.AddButton(m_Button1Def)

     oCustomControl.ChildControls.AddButton(m_Button2Def)

 

 

End Sub

 

 

Thank in advance!

0 Likes
331 Views
0 Replies
Replies (0)