Create designer menu ???
-
- Posts: 85
- Joined: Sat Jan 20, 2007 4:21 am
Create designer menu ???
Hai,
is there any possibilty to create designer menu in windows form ? if possible then how to create....???
(that is,i add menu names in my own format.and those menus are performing desinger menu functionalities)
Thanks in advance,
Jayakumar
is there any possibilty to create designer menu in windows form ? if possible then how to create....???
(that is,i add menu names in my own format.and those menus are performing desinger menu functionalities)
Thanks in advance,
Jayakumar
Create designer menu ???
Use follow code for your button to access menu functionalities, for example, for create new report:
where stiDesignerControl1 your StiDesignerControl placed to windows form
For create new page:
and etc.
Thank you.
Code: Select all
StiMainMenuService mainmenu = StiMainMenuService.GetService(stiDesignerControl1);
mainmenu.InvokeReportNew();
For create new page:
Code: Select all
StiMainMenuService mainmenu = StiMainMenuService.GetService(stiDesignerControl1);
mainmenu.InvokePageNew();
Thank you.
-
- Posts: 85
- Joined: Sat Jan 20, 2007 4:21 am
Create designer menu ???
Hai,
Thanks for your reply.it works fine.
i want to know,how to open dictionay window,report tree and properties window at run time ???
Please provide the solutions...
Thanks in advance,
Jayakumar
Thanks for your reply.it works fine.
i want to know,how to open dictionay window,report tree and properties window at run time ???
Please provide the solutions...
Thanks in advance,
Jayakumar
Create designer menu ???
For Property Grid use the following code:
For Report Tree:
For Dictionary:
Thank you.
Code: Select all
StiPropertiesPanelService properties = new StiPropertiesPanelService();
properties.Init(stiDesignerControl1);
Code: Select all
StiReportTreePanelService tree = new StiReportTreePanelService();
tree.Init(stiDesignerControl1);
Code: Select all
StiDictionaryPanelService dictionary = new StiDictionaryPanelService();
dictionary.Init(stiDesignerControl1);
-
- Posts: 85
- Joined: Sat Jan 20, 2007 4:21 am
Create designer menu ???
Hai,
Thanks. Which namespace is used for StiPropertiesPanelService,StiReportTreePanelService and StiDictionaryPanelService ???
Thanks in Advance,
Jayakumar
Thanks. Which namespace is used for StiPropertiesPanelService,StiReportTreePanelService and StiDictionaryPanelService ???
Thanks in Advance,
Jayakumar
Create designer menu ???
Code: Select all
Stimulsoft.Report.Design.Panels
-
- Posts: 85
- Joined: Sat Jan 20, 2007 4:21 am
Create designer menu ???
Hai,
i wrote following,
StiReport rpt = new StiReport();
StiDesigner design = new StiDesigner(rpt);
StiReportTreePanelService tree = new StiReportTreePanelService();
tree.Init(design);
but it doesn't work...
How to show the Reporttree window ??
Thanks,
Jayakumar
i wrote following,
StiReport rpt = new StiReport();
StiDesigner design = new StiDesigner(rpt);
StiReportTreePanelService tree = new StiReportTreePanelService();
tree.Init(design);
but it doesn't work...
How to show the Reporttree window ??
Thanks,
Jayakumar
Create designer menu ???
You must place StiDesignerControl on your windows form and write:
Thank you.
Code: Select all
StiReport rpt = new StiReport();
stiDesignerControl1.Report = rpt;
StiReportTreePanelService tree = new StiReportTreePanelService();
tree.Init(stiDesignerControl1);
-
- Posts: 85
- Joined: Sat Jan 20, 2007 4:21 am
Create designer menu ???
Hai,
i want to open report tree for existing(already opened designer) report designer. it is same as like designer view menu operation.
View --> Report Tree(ctrl+shift+l)
How to open report tree...???
Thanks in advance,
Jaykumar
i want to open report tree for existing(already opened designer) report designer. it is same as like designer view menu operation.
View --> Report Tree(ctrl+shift+l)
How to open report tree...???
Thanks in advance,
Jaykumar
Create designer menu ???
Use the following code:
Of course, you may write or instead
Thank you.
Code: Select all
StiReportTreePanelService tree = StiReportTreePanelService.GetService(design);
StiPanelService service = (tree as StiPanelService);
if (service.DockingControl.IsVisible)
{
((StiDockingPanel)service.DockingControl.Parent).DoClose(service.DockingControl);
}
else
{
design.DockingManager.ClosedControls.Remove(service.DockingControl);
StiDockingPanel dockingPanel = new StiDockingPanel(design.DockingManager);
dockingPanel.Controls.Add(service.DockingControl);
dockingPanel.DockPanelToForm(design, service.DockStyle);
}
Code: Select all
StiDictionaryPanelService
Code: Select all
StiPropertiesPanelService
Code: Select all
StiReportTreePanelService