ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The Border property gets and sets the characteristics of the borders:
  • for a report control or block.
    AndroidAndroid Widget Not available.
  • WINDEVAndroidAndroid Widget for a window control.
    Note: This property is not available on Button.
  • WINDEV for a cell of the Table control.
WEBDEV - Server codeiPhone/iPadIOS WidgetMac Catalyst This property is only available for reports.
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
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

Getting the border characteristics of an element 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 the control or block used. This element is in the current report.
    AndroidAndroid Widget Not available.
  • WINDEVAndroidAndroid Widget Name of the window control used.
  • WINDEV Cell in a Table control using one of the following syntaxes:
    • <Table control>[RowNum,ColumnNum]
    • <Table control>.<Column name>[RowNum]

Defining the borders programmatically Hide the details

<Element used>.Border = <Border characteristics>
<Element used>: Control name
  • Name of the control or block used. This element is in the current report.
    AndroidAndroid Widget Not available.
  • WINDEVAndroidAndroid Widget Name of the window control used.
  • WINDEV Cell in a Table control 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

Last update: 10/02/2024

Send a report | Local help