Change report's parent form
Posted: Wed Apr 29, 2015 11:08 am
Hi,
I use the Stireport.Show(Form parentForm) method. Is it possible to assign a different parent form afterwards?
I show the report from a sub-form, and don't want the report to close when the sub-form closes, or lose control on it.
So I call the Show-method and assign the master form as parent form (rpt.Show(masterForm)).
This way, the report keeps open AND active when the sub-form is closed.
The thing is, when I re-enter this sub-form, or any other form, there is no more control on the report (you cannot minimize/maximize/close it).
So I would like to assign the currently active form to all open reports.
Thank you for any answer.
I use the Stireport.Show(Form parentForm) method. Is it possible to assign a different parent form afterwards?
I show the report from a sub-form, and don't want the report to close when the sub-form closes, or lose control on it.
So I call the Show-method and assign the master form as parent form (rpt.Show(masterForm)).
This way, the report keeps open AND active when the sub-form is closed.
The thing is, when I re-enter this sub-form, or any other form, there is no more control on the report (you cannot minimize/maximize/close it).
So I would like to assign the currently active form to all open reports.
Thank you for any answer.