I am using the Microsoft Forms 2.0 combobox (FM20.DLL) in a VB client/server app, because it is multi-column.
I have code to "autofill" a regular VB combobox. As the users types into the combobox, it searches for matching text in the dropdown list.
I tried to use the "autofill" code with the MS Forms 2.0 combobox, but get a type mismatch, because the combobox is passed as a parameter.
Call ComboBoxChange(cboMarketNbr)
Public Sub ComboBoxChange(lComboBox As ComboBox)
I'm not sure how to define the parameter of ComboBoxChange properly.
Public Sub ComboBoxChange(lComboBox As ???)
Any ideas?
Thanks!!
Margaret Knapp
Visual Basic Programmer
I have code to "autofill" a regular VB combobox. As the users types into the combobox, it searches for matching text in the dropdown list.
I tried to use the "autofill" code with the MS Forms 2.0 combobox, but get a type mismatch, because the combobox is passed as a parameter.
Call ComboBoxChange(cboMarketNbr)
Public Sub ComboBoxChange(lComboBox As ComboBox)
I'm not sure how to define the parameter of ComboBoxChange properly.
Public Sub ComboBoxChange(lComboBox As ???)
Any ideas?
Thanks!!
Margaret Knapp
Visual Basic Programmer