I have a form with a listbox and several textboxes. When I input data in the
textboxes and click the menu I have created the aircraftId should appear in
the listbox and link the data form the other textboxes with the aircraftId. So if I have three AircraftId's when I highlight one the data recorded when I first clicked the menu with that aircraftID populates the textboxes. I have gotten the aircraftId to appear in the listbox put can't get the textboxes to be populated. Here is the code I have:
Private Sub mmuRecordSaveArrival_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mmuRecordSaveArrival.Click
Dim newItemText As String = txtAircraftID.Text
Me.lstAircraftID.Items.Add(newItemText)
This form is to test a class I created, and imported that class to the main form,so everthing is declared in the class.