Posted 8 September 2017, 1:26 pm EST
We have a spread with several MultiColumnComboBoxCellTypes defined for various columns. I would like to write a general purpose function for the ComboCloseUp event that would take as an input parameter e.EditingControl. I would like the function to return the selected row of data so that I could fill in related column data, similarly to the way you can use the SelectedItem in a Windows Forms combo box which is a DataRowView pointing to a complete row of data from the underlying data source. This allows you do reference individual columns specifically with code like: CType(Me.ComboBox1.SelectedItem, DataRowView).Row("Column1"), etc in the SelectedIndexChanged event. Thanks in advance for any ideas and/or suggestions!