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
Video Border
https://youtu.be/3AFpNHMSyXE

https://windevdesenvolvimento.blogspot.com/2019/03/dicas-2043-windev-tabela-95-border.html

// BTN_TABELA_CONFIGURA_BORDA_BORDER

borda is Border
borda..Thickness = 2
borda..Color = PastelRed
borda..LineBottom..Type = LineDash
borda..LineBottom..Color = DarkRed
TABLE_WIN_TABELA_EXEMPLO.COL_Preco_venda[3]..Border = borda
amarildo
13 Mar. 2019
In today's class we will highlight a table of the table
// In today's class we will highlight a table of the table



_borda is Border
_borda..Color = PastelBlue
_borda..Thickness = 2

TABLE_descricao..Border=_borda

_borda..LineBottom..Type = LineDotAndDash
_borda..LineBottom..Color = DarkRed

TABLE_descricao[2,2]..Border = _borda


// BLOG COM VIDEO E EXEMPLO


http://windevdesenvolvimento.blogspot.com.br/2017/07/aula-1206-windev-tabela-067-destacar.html

https://www.youtube.com/watch?v=YhnwquayeiM
De matos
11 Jul. 2017
BORDA NA TABELA
BORDA NA TABELA

_borda is Border
_borda..Color = LightBrown
_borda..Thickness = 5

// Definir as características da borda
// Define the border characteristics
// Definir las características del borde

TABLE_descricao..Border=_borda

// ESTOU COLOCANDO A BORDA NA TABELA
// I'M LAYING THE EDGE IN THE TABLE
// ESTOY COLOCANDO EL BORDE EN LA TABLA

// BLOG COM VIDE E EXEMPLO

http://windevdesenvolvimento.blogspot.com.br/2017/07/aula-1205-windev-066-table-border.html

https://www.youtube.com/watch?v=RWgeH1Z24Lk
De matos
09 Jul. 2017