PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The Border property is used to get and change the characteristics of the borders:
  • for a report control or block.
    AndroidAndroid Widget Not available.
  • Versions 20 and later
    WINDEVAndroidAndroid Widget for a window control.
    New in version 20
    WINDEVAndroidAndroid Widget for a window control.
    WINDEVAndroidAndroid Widget for a window control.
  • Versions 22 and later
    WINDEV for a cell of a Table control.
    New in version 22
    WINDEV for a cell of a Table control.
    WINDEV for a cell of a Table control.
WEBDEV - Server codeiPhone/iPadIOS WidgetMac Catalyst This property is available for reports only.
Versions 18 and later
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
New in version 18
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
Versions 20 and later
WINDEV This property is now available on window controls.
New in version 20
WINDEV This property is now available on window controls.
WINDEV This property is now available on window controls.
Versions 27 and later
Android Widget This property is now available in Android Widget mode.
Android This property is now available for Android applications.
New in version 27
Android Widget This property is now available in Android Widget mode.
Android This property is now available for Android applications.
Android Widget This property is now available in Android Widget mode.
Android This property is now available for Android applications.
Example
// 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
Versions 22 and later
WINDEV
// Configures the borders
MyBorder is Border
MyBorder.Color = LightRed
MyBorder.Thickness = 5
 
// Specific feature of the bottom line
MyBorder.LineBottom.Type = LineDash
MyBorder.LineBottom.Color = DarkRed
 
// Applies the borders to cell 2, 2 (2nd row, 2nd column)
TABLE_MyTable[2,2].Border = MyBorder
// or
TABLE_MyTable.COL_NoName2[2].Border = MyBorder
New in version 22
WINDEV
// Configures the borders
MyBorder is Border
MyBorder.Color = LightRed
MyBorder.Thickness = 5
 
// Specific feature of the bottom line
MyBorder.LineBottom.Type = LineDash
MyBorder.LineBottom.Color = DarkRed
 
// Applies the borders to cell 2, 2 (2nd row, 2nd column)
TABLE_MyTable[2,2].Border = MyBorder
// or
TABLE_MyTable.COL_NoName2[2].Border = MyBorder
WINDEV
// Configures the borders
MyBorder is Border
MyBorder.Color = LightRed
MyBorder.Thickness = 5
 
// Specific feature of the bottom line
MyBorder.LineBottom.Type = LineDash
MyBorder.LineBottom.Color = DarkRed
 
// Applies the borders to cell 2, 2 (2nd row, 2nd column)
TABLE_MyTable[2,2].Border = MyBorder
// or
TABLE_MyTable.COL_NoName2[2].Border = MyBorder
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.
    AndroidAndroid Widget Not available.
  • Versions 20 and later
    WINDEVAndroidAndroid Widget Name of the window control used.
    New in version 20
    WINDEVAndroidAndroid Widget Name of the window control used.
    WINDEVAndroidAndroid Widget Name of the window control used.
  • Versions 22 and later
    WINDEV Cell in a Table control by using one of the following syntaxes:
    • <Table control>[RowNum,ColumnNum]
    • <Table control>.<Column name>[RowNum]
    New in version 22
    WINDEV Cell in a Table control by using one of the following syntaxes:
    • <Table control>[RowNum,ColumnNum]
    • <Table control>.<Column name>[RowNum]
    WINDEV 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.
    AndroidAndroid Widget Not available.
  • Versions 20 and later
    WINDEVAndroidAndroid Widget Name of the window control used.
    New in version 20
    WINDEVAndroidAndroid Widget Name of the window control used.
    WINDEVAndroidAndroid Widget Name of the window control used.
  • Versions 22 and later
    WINDEV Cell in a Table control by using one of the following syntaxes:
    • <Table control>[RowNum,ColumnNum]
    • <Table control>.<Column name>[RowNum]
    New in version 22
    WINDEV Cell in a Table control by using one of the following syntaxes:
    • <Table control>[RowNum,ColumnNum]
    • <Table control>.<Column name>[RowNum]
    WINDEV 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.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment