Hi,
Thanks for the quick reply.
I tried adding your code as suggested but no luck.
I suppose I should've said this at the start:
This is the code (taken from the simpleaddin sample) that am using to generate my combobox:
#Region "Data Members"
'combo-boxes
Private m_pipeworkComboxDefinition As ComboBoxDefinition
#End Region
Public Sub Activate(ByVal addInSiteObject As Inventor.ApplicationAddInSite, ByVal firstTime As Boolean) Implements Inventor.ApplicationAddInServer.Activate
'create the comboboxes
m_pipeworkComboxDefinition = InvApp.CommandManager.ControlDefinitions.AddComboBoxDefinition _
("Pipework", "Autodesk:MyAssemblyTools:PipeMatCboBox", CommandTypesEnum.kShapeEditCmdType, 200, addInCLSIDString, _
"Select Which Piping Material To Use", "Piping Material")
'add some initial items to the comboboxes
m_pipeworkComboxDefinition.AddItem("Carbon Steel", 0)
m_pipeworkComboxDefinition.AddItem("Low Temp Carbon Steel", 1)
m_pipeworkComboxDefinition.AddItem("Stainless Steel", 2)
'##################
' add the combo boxes to the Tube and pipe tab panel panel
Dim PipeworkCmdCboBoxCmdCtrl As CommandControl
PipeworkCmdCboBoxCmdCtrl = parttubeandpipeRibbonPanelCtrls.AddComboBox(m_pipeworkComboxDefinition, "", False)
end sub
When I added in your code in it highlighted the .TextChanged part with the error:
'TextChanged' is not a member of 'Inventor.ComboboxDefinition'