Hai,
I am programmatically opening the Designer within my application as a MDI child. I allow the user to put the MDI children as Tabs. Mdi Parent also have menubar and toolbars.
When the Designer opens, menubar is hidden. What is the code so that prior to displaying the Designer as a form, how can i make menubar visible?
This is how I am displaying the Designer:(stimulsoft 2007.1)
StiReport report = new StiReport();
report.Design(this);
i tried following,
StiOptions.Designer.ShowDesignerControlMainMenu = true;
Stimulsoft.Report.Design.StiDesigner stDesigner = new Stimulsoft.Report.Design.StiDesigner();
stDesigner.RefreshToolbars();
but it shows an error...!!!
Please provide the solutions...
Thanks in advance,
Jayakumar
How to make Mdi child Menubar Visible???
-
jayakumargr
- Posts: 85
- Joined: Sat Jan 20, 2007 4:21 am
How to make Mdi child Menubar Visible???
Please modify your code as following:
Thank you.
Code: Select all
StiReport report = new StiReport();
report.Design(this);
StiOptions.Designer.ShowDesignerControlMainMenu = true;
Stimulsoft.Report.Design.StiDesigner stDesigner = new Stimulsoft.Report.Design.StiDesigner();
stDesigner.Report = report;
stDesigner.RefreshToolbars();
How to make Mdi child Menubar Visible???
Can you show me full error stack?
Thank you.
Thank you.
-
jayakumargr
- Posts: 85
- Joined: Sat Jan 20, 2007 4:21 am
How to make Mdi child Menubar Visible???
Hai,
I got it. i use following lines,
StiReport rpt = new StiReport();
StiDesigner design = new StiDesigner(rpt);
this.Menu=design.Menu;
It works fine.
Thanks,
Jayakumar
I got it. i use following lines,
StiReport rpt = new StiReport();
StiDesigner design = new StiDesigner(rpt);
this.Menu=design.Menu;
It works fine.
Thanks,
Jayakumar