|
|
|
|
Border (Property) In french: Cadre
The Border property gets and sets the characteristics of the borders: - for a report control or block.
- for a window control.
Remark: This property is not available for Button controls. - for a cell of a Table control.
// Define the characteristics of the borders for report controls MyBorder is Border MyBorder.Color = LightRed MyBorder.Thickness = 5 Â // Borders for the NumNbPage control in the report NumNbPage.Border = MyBorder // Modify the characteristics of the borders for the NumNbPage control NumNbPage.Border.Thickness = 1 Â // Get the characteristics of the borders for the NumNbPage control MyBorder2 is Border = NumNbPage.Border Syntax
Retrieving the characteristics of a border Hide the details
<Characteristics> = <Element used>.Border
<Characteristics>: Border variable Border variable containing the characteristics of the borders for the specified element. <Element used>: Control name - Name of control or block used. This element is found in the current report.
- Name of the window control used.
- Cell in a Table control by using one of the following syntaxes:
<Table control>[RowNum,ColumnNum] <Table control>.<Column name>[RowNum]
Defining borders through programming Hide the details
<Element used>.Border = <Border characteristics>
<Element used>: Control name - Name of control or block used. This element is found in the current report.
- Name of the window control used.
- Cell in a Table control by using one of the following syntaxes:
<Table control>[RowNum,ColumnNum] <Table control>.<Column name>[RowNum]
<Border characteristics>: Border variable Border variable containing the characteristics of the borders that will be applied to the specified element.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|