>I have an application and with that when a user selects a certain menu item then I want the form (form A) that is showing to be hidden and a new form (form B) is shown. Then when the user clicks on the cancel button from from B form A is shown and form B is released. When I call 'DO' form B I have form A.Hide in Form B's load method, but I get an error that says "Object form A is not found". What is it that I am doing wrong?
Julie,
When you call form B pass the object of form A
do form FormB with ThisForm
in the Init method of form B store the passed object to a property.
lparams loFormA
ThisForm.oFormProperty = loFormA
Don't forget to release the object in the Destroy method
ThisForm.oFormProperty = .NULL.
dodefeult()
HTH
Caroline