IErAnalyzerDimPanel.BorderStyle

Fore Syntax

BorderStyle: ControlBorderStyle;

Fore.NET Syntax

BorderStyle: Prognoz.Platform.Interop.Forms.ControlBorder;

Description

The BorderStyle property determines the style of dimension panel border.

Comments

Default value is ControlBorderStyle.Single, that is, borders are displayed in 3D mode.

 Fore Example

Executing the example requires that repository contains a form with the button with the Button1 identifier and the ErAnalyzerDimPanel component with the ErAnalyzerDimPanel1 identifier and the UiErAnalyzer component with the UiErAnalyzer1 identifier on it. An express report needs to be defined in UiErAnalyzer1.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
    Begin
        ErAnalyzerDimPanel1.Object := UiErAnalyzer1;
        ErAnalyzerDimPanel1.BorderStyle := ControlBorderStyle.Flat;
    End Sub Button1OnClick;

Clicking this button defines express report as the data source for the ErAnalyzerDimPanel1 component. Borders of express report dimension panel are displayed as a one pixel wide frame.

 Fore.NET Example

The requirements and result of the Fore.NET Example execution match with those in the Fore Example.

Public Partial Class OBJ416Form : Prognoz.Platform.Forms.Net.ForeNetForm
    Public Constructor OBJ416Form();
    Begin
        InitializeComponent();
    End Constructor;

    Private Sub button1_Click( sender : System.Object; e : System.EventArgs );
    Begin
        erAnalyzerDimPanelNet1.Object := uiErAnalyzerNet1;

        erAnalyzerTitleNet1.CtrlBox.BorderStyle:=Prognoz.Platform.Interop.Forms.ControlBorderStyle.bsSingle;
    End Sub;

End Class;

See also: