Modify a structure field containing combobox when SelectedIndex event fires
问题 I am trying to have a generic widget composed of a label and a value. The value is set by a combobox. Here is the structure: Structure tParam Dim label As Label Dim comboBox As ComboBox Dim valueX As String End Structure Dim parameter1 As tParam I'd like to modify the valueX as the SelectedIndexChanged event is fired. For now I have set parameter1.label.text = "Id" parameter1.comboBox.Tag = parameter1 ' the struct itself AddHandler parameter1.comboBox.SelectedIndexChanged, AddressOf