Show contents 

Express > Express Assembly Interfaces > IErAnalyzerDimPanel > IErAnalyzerDimPanel.BorderStyle

IErAnalyzerDimPanel.BorderStyle

Syntax

BorderStyle: ControlBorderStyle;

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.

Example

Executing the example requires that the repository contains a form with a button named Button1 and the ErAnalyzerDimPanel component named ErAnalyzerDimPanel1, and the UiErAnalyzer component named UiErAnalyzer1. 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 the button sets express report as a data source for the ErAnalyzerDimPanel1 component. Borders of express report dimension panel are displayed as a one pixel wide frame.

See also:

IErAnalyzerDimPanel