P
Peter W Johnson
Hi Guys,
I have a small program that uses parent and child mdi windows.
The program loads with the parent window
click on the main menu to open a child window
On the child window click on a dropdownbox to select a name
click on a button in the same child window to open another child window
within the parent passing the name variable
the second child window opens and displays the data relevant to that name
variable.
close this child window using the "X" in the top righthand corner (Close &
Save button not yet implemented)
If I select another name from the first child window and click the button to
open the second child window with new information I get the following
error:-
"SystemObjectDisposeException cannot access a disposed object name
frmNewMember"
Any ideas on how to close the second child window without "disposing" of it?
Many thanks
Peter.
I have a small program that uses parent and child mdi windows.
The program loads with the parent window
click on the main menu to open a child window
On the child window click on a dropdownbox to select a name
click on a button in the same child window to open another child window
within the parent passing the name variable
the second child window opens and displays the data relevant to that name
variable.
close this child window using the "X" in the top righthand corner (Close &
Save button not yet implemented)
If I select another name from the first child window and click the button to
open the second child window with new information I get the following
error:-
"SystemObjectDisposeException cannot access a disposed object name
frmNewMember"
Any ideas on how to close the second child window without "disposing" of it?
Many thanks
Peter.