PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..Border is used to find out and modify the border characteristics:
  • for a report control or for a report block.
  • Versions 20 and later
    WINDEV for a window control (in Windows only).
    New in version 20
    WINDEV for a window control (in Windows only).
    WINDEV for a window control (in Windows only).
  • Versions 22 and later
    WINDEV for a cell in a Table control (in Windows only).
    New in version 22
    WINDEV for a cell in a Table control (in Windows only).
    WINDEV for a cell in a Table control (in Windows only).
Versions 20 and later
WINDEV This property is now available for the window controls.
New in version 20
WINDEV This property is now available for the window controls.
WINDEV This property is now available for the window controls.
Example
// Define the border characteristics
MyBorder is Border
MyBorder..Color = LightRed
MyBorder..Thickness = 5

// Use the border for the NumNbPage control of report
NumNbPage..Border = MyBorder
// Modify a border characteristic for the NumNbPage control
NumNbPage..Border..Thickness = 1

// Retrieve the border characteristics for the NumNbPage control
MyBorder2 is Border = NumNbPage..Border
Versions 22 and later
WINDEV
// Configures the border
varBorder is Border
varBorder..Thickness = 2
varBorder..Color = PastelRed

// Specific feature of bottom line
varBorder..LineBottom..Type = LineDash
varBorder..LineBottom..Color = DarkRed

// Applies the border to cell 2, 2 (2nd row, 2nd column)
TABLE_MyTable[2,2]..Border = varBorder
// or
TABLE_MyTable.COL_NoName2[2]..Border = varBorder
New in version 22
WINDEV
// Configures the border
varBorder is Border
varBorder..Thickness = 2
varBorder..Color = PastelRed

// Specific feature of bottom line
varBorder..LineBottom..Type = LineDash
varBorder..LineBottom..Color = DarkRed

// Applies the border to cell 2, 2 (2nd row, 2nd column)
TABLE_MyTable[2,2]..Border = varBorder
// or
TABLE_MyTable.COL_NoName2[2]..Border = varBorder
WINDEV
// Configures the border
varBorder is Border
varBorder..Thickness = 2
varBorder..Color = PastelRed

// Specific feature of bottom line
varBorder..LineBottom..Type = LineDash
varBorder..LineBottom..Color = DarkRed

// Applies the border to cell 2, 2 (2nd row, 2nd column)
TABLE_MyTable[2,2]..Border = varBorder
// or
TABLE_MyTable.COL_NoName2[2]..Border = varBorder
Syntax

Retrieving the characteristics of a border Hide the details

<Characteristics> = <Element Name>..Border
<Characteristics>: Border variable
Border variable containing the characteristics of border for the specified element.
<Element Name>: Character string (with or without quotes)
  • Name of control or block used. This element is found in the current report.
  • Versions 20 and later
    WINDEV Name of window control used.
    New in version 20
    WINDEV Name of window control used.
    WINDEV Name of window control used.
  • Versions 22 and later
    WINDEV Cell in a Table control by using one of the following syntaxes:
    • <Table Name>[RowNum,ColumnNum]
    • <Table Name>.<Column Name>[RowNum]
    New in version 22
    WINDEV Cell in a Table control by using one of the following syntaxes:
    • <Table Name>[RowNum,ColumnNum]
    • <Table Name>.<Column Name>[RowNum]
    WINDEV Cell in a Table control by using one of the following syntaxes:
    • <Table Name>[RowNum,ColumnNum]
    • <Table Name>.<Column Name>[RowNum]

Defining a border by programming Hide the details

<Element Name>..Border = <Border Characteristics>
<Element Name>: Character string (with or without quotes)
  • Name of control or block used. This element is found in the current report.
  • Versions 20 and later
    WINDEV Name of window control used.
    New in version 20
    WINDEV Name of window control used.
    WINDEV Name of window control used.
  • Versions 22 and later
    WINDEV Cell in a Table control by using one of the following syntaxes:
    • <Table Name>[RowNum,ColumnNum]
    • <Table Name>.<Column Name>[RowNum]
    New in version 22
    WINDEV Cell in a Table control by using one of the following syntaxes:
    • <Table Name>[RowNum,ColumnNum]
    • <Table Name>.<Column Name>[RowNum]
    WINDEV Cell in a Table control by using one of the following syntaxes:
    • <Table Name>[RowNum,ColumnNum]
    • <Table Name>.<Column Name>[RowNum]
<Border Characteristics>: Border variable
Border variable containing the characteristics of the border that will be applied to the specified element.
Minimum required version
  • 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
Mar. 13 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
Jul. 11 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
Jul. 09 2017