I define a subform in the main form: the subform's parent is the main form.
public subForm(mainForm p)
{
parent = p;
I want the subform to display a textbox. The user will select a line from the textbox and that text will be passed back to the main form.
How can I do this?
I'm getting very confused about where and how to define variables to pass the data. Do I define them in the main form? in the subform? in the textbox of the subform?
Any help cutting thru [my] fog would be appreciated.
Regards,
Ken