Page 1 of 1
Designer functionality
Posted: Mon Jun 12, 2006 3:22 am
by Alex Horn
Hi!
How do i limit the funtionality of the Report designer at runtime?
Thanks.
Designer functionality
Posted: Mon Jun 12, 2006 5:04 am
by Edward
To limit the functionality of the Report designer at runtime please use the following code:
StiReport report = new StiReport();
StiConfig.Load();
// this service controls MainMenu of Designer
StiMainMenuService serviceMenu = StiMainMenuService.GetService();
serviceMenu.ShowFileFormNew = false;
serviceMenu.ShowFilePageNew = false;
// this service controls ToolBar of Designer
StiStandardToolbarService serviceToolbar = StiStandardToolbarService.GetService();
serviceToolbar.ShowPageNew = false;
serviceToolbar.ShowFormNew = false;
report.Design();
Designer functionality
Posted: Tue Jun 13, 2006 10:27 am
by Alex Horn
How i can hide Event tab in properties panel?
Thanks.
Designer functionality
Posted: Tue Jun 13, 2006 2:45 pm
by Vital
Alex wrote:
How i can hide Event tab in properties panel?
Thanks.
Use following code:
StiConfig.Load();
StiOptions.Designer.ShowEventsTab = false;
StiConfig.Save();