BorderStyle: ControlBorderStyle;
BorderStyle: Prognoz.Platform.Interop.Forms.ControlBorder;
The BorderStyle property defines style for border of express report header panel.
Default value is ControlBorderStyle.Single, that is, borders are displayed in 3D mode.
Executing this example requires a form, a button named Button1 positioned on this form, the ErAnalyzerTitle component named ErAnalyzerTitle1 and the UiErAnalyzer component named UiErAnalyzer1. An express report needs to be defined in UiErAnalyzer1.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
ErAnalyzerTitle1.Object := UiErAnalyzer1;
ErAnalyzerTitle1.BorderStyle := ControlBorderStyle.Flat;
End Sub Button1OnClick;
Clicking this button defines express report as the data source for the ErAnalyzerTitle1 component. Borders of express report header panel are displayed as a one pixel wide frame.
Executing this example requires a form, a button named Button1 positioned on this form, the erAnalyzerTitleNet component named erAnalyzerTitleNet1 and the uiErAnalyzerNet component named uiErAnalyzerNet1. An express report needs to be defined in uiErAnalyzerNet1.
Private Sub button1_Click( sender : System.Object; e : System.EventArgs );
Begin
erAnalyzerTitleNet1.Object := uiErAnalyzerNet1;
erAnalyzerTitleNet1.CtrlBox.BorderStyle:=Prognoz.Platform.Interop.Forms.ControlBorderStyle.bsSingle;
End Sub;
Clicking this button defines express report as the data source for the erAnalyzerTitleNet1 component. Borders of express report header panel are displayed as a one pixel wide frame.
See also: