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.
Change report's parent form
Re: Change report's parent form
Hello.
Please, send us a sample project which reproduces the issue.
Add step-by-step instruction how to reproduce the issue.
Thank you.
Please, send us a sample project which reproduces the issue.
Add step-by-step instruction how to reproduce the issue.
Thank you.
Re: Change report's parent form
Here you are. Description inside the project.
Thank you, regards, Florian
Thank you, regards, Florian
- Attachments
-
- StimulsoftSample.zip
- (103.04 KiB) Downloaded 200 times
Re: Change report's parent form
Hello.
Do not use ShowDialog method. If you call in no other Form will be available.
Thank you.
Do not use ShowDialog method. If you call in no other Form will be available.
Thank you.
Re: Change report's parent form
OK, this works.
Thank you, Aleksey
Thank you, Aleksey
Re: Change report's parent form
Hello.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.