Page 2 of 2

Designer: i don't want to save "View" settings

Posted: Fri Nov 28, 2008 11:42 am
by Edward
Hello Fabio.

Starting from prerelease build from December, 1 you can use the following code:

Code: Select all

Dim Service As Stimulsoft.Report.Design.Panels.StiPropertiesPanelService = Stimulsoft.Report.Design.Panels.StiPropertiesPanelService.GetService(designer)
If Not Service.DockingItem.Visible Then
  StiDesignerControl.DockPanelOpen(Service) 
End If
or as follows:

Code: Select all

Stimulsoft.Controls.Win.DotNetBar.BarUtilities.SetDockContainerVisible(service.DockingItem, true);
If service.DockingBar.Items.Contains(service.DockingItem) Then
    service.DockingBar.SelectedDockContainerItem = service.DockingItem 
End If
Thank you.

Designer: i don't want to save "View" settings

Posted: Tue Dec 02, 2008 1:53 pm
by Fabio Pagano
Sorry but didn't work.

Version of 1 December 2008, ribbongui interface, trying to make always appear the dictionary panel also if user closed it in last designer:

Code: Select all

Private Sub StiDesigner_LoadedDesigner(ByVal sender As Object, ByVal e As EventArgs)
        
        Dim Service As Stimulsoft.Report.Design.Panels.StiDictionaryPanelService = Stimulsoft.Report.Design.Panels.StiDictionaryPanelService.GetService(TryCast(sender, Stimulsoft.Report.Design.StiDesignerControl))
        If Not Service.DockingItem.Visible Then
            Stimulsoft.Report.Design.StiDesignerControl.DockPanelOpen(Service)
        End If

    End Sub
The code is executed, "Service.DockingItem.Visible" property begins with "false", after executing the instruction "Stimulsoft.Report.Design.StiDesignerControl.DockPanelOpen(Service)" the "Service.DockingItem.Visible" property is "true" but the panel doesn't appear in designer anyway.

Thank you.

Designer: i don't want to save "View" settings

Posted: Sat Dec 06, 2008 10:37 pm
by Vital
Hello Fabio,
Fabio wrote: Version of 1 December 2008, ribbongui interface, trying to make always appear the dictionary panel also if user closed it in last designer:
Please get build from 8 Dec. After then use LoadedConfigurationInDesigner event instead LoadedDesigner event.

Thank you.


Designer: i don't want to save "View" settings

Posted: Tue Mar 24, 2009 6:06 am
by Larusso
Hi, I have similar problem. Can You tell me where this LoadedConfigurationInDesigner event is? I cannot find it...
Regards

Designer: i don't want to save "View" settings

Posted: Tue Mar 24, 2009 6:21 am
by Brendan
Hi Larusso,

You can find the Events in the GlobalEvents class.

Code: Select all

Stimulsoft.Report.StiOptions.Engine.GlobalEvents.LoadedConfigurationInDesigner

Designer: i don't want to save "View" settings

Posted: Tue Mar 24, 2009 6:33 am
by Jan
Hello,

Full path to this static event is:

Stimulsoft.Report.StiOptions.Engine.GlobalEvents.LoadedConfigurationInDesigner

Thank you.