Good day all.
This is my problem.
I have a page that is a subwindow of mdi1 in my code. this page is opened from the tool bar usinf the following code
menu_reports *Menu = new menu_reports;
ui->mdi1->addSubWindow(Menu);
Menu->showMaximized();
menu_reports *Menu = new menu_reports;
ui->mdi1->addSubWindow(Menu);
Menu->showMaximized();
To copy to clipboard, switch view to plain text mode
This works fine. but on this page i have another button that must open another window but it must also be pen as a subwindow of mdi1.
So what i would like to know is how do i reference mdi from the open form.
as the following does not work
parent.mdi1
parentwidget.mdi1
parent.mdi1
parentwidget.mdi1
To copy to clipboard, switch view to plain text mode
Any help will be greatly appreciated.
Regards
Bookmarks