showdialog - how to access parent form
Hi,
I have a form, it has two textboxes txtName, txtAddress, it also has a button, the button opens another form as a dialog
Dim select as new frmSelect
select.showdialog
On the select dialog it displays a datagrid with a list of customers, user double clicks on an entry and I trap that event, I then want to update the textboxes on the parent form with the values fromt the selected row in the grid.
How do I access the parent forms controls/properties?
Thanks
Re: showdialog - how to access parent form
This Link may help you, it's part 2 of a 4 part Article explaining how to work with Forms in .Net
Link
Accessing Controls on Other Forms