I completed a hands-on project from a textbook I'm reading.
The purpose was to create a composite user control (containing identifying labels and text boxes) referencing a "Person" structure.
Now, it 'worked' okay, but only after I made one minor change to my container form:
The book's solution calls for the form's OK button procedure to be:
Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
'Retrieve the entered information
Dim perPerson As Person
perPerson = NameEntry.PersonText
perPerson.id & ControlChars.NewLine & _
perPerson.Name & ControlChars.NewLine & _
perPerson.address & ControlChars.NewLine & _
perPerson.city & ", " & perPerson.state & _
" " & perPerson.zip, "Display Entered Information")
Where mine ended up 'having' to be:
Dim perPerson as Person.Person