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 property Frame property allows you to view and modify the characteristics of the frame:
  • 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
// Définition des caractéristiques du cadre pour les champs de l'état
MonCadre is Border
MonCadre.Color = LightRed
MonCadre.Thickness = 5

// Utilisation du cadre pour le champ NumNbPage de l'état
NumNbPage.Cadre = MonCadre
// Modification d'une caractéristique du cadre du champ NumNbPage
NumNbPage.Cadre.Epaisseur = 1

// Récupération des caractéristiques du cadre du champ NumNbPage
MonCadre2 is Border = NumNbPage.Cadre
WINDEV
// Paramètre le cadre
MonCadre is Border
MonCadre.Color = LightRed 
MonCadre.Thickness = 5

// Spécificité du trait bas
MonCadre.LineBottom.Type = LineDash
MonCadre.LineBottom.Color = DarkRed

// Applique le cadre à la cellule 2, 2 (2ème ligne, 2ème colonne)
TABLE_MaTable[2,2].Cadre = MonCadre
// ou 
TABLE_MaTable.COL_SansNom2[2].Cadre = MonCadre
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:
    • syntax using row and column numbers:
      <Table control>[RowNum,ColumnNum]
    • syntax using column name and row number:
      <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:
    • syntax using row and column numbers:
      <Table control>[RowNum,ColumnNum]
    • syntax using column name and row number:
      <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: 05/13/2025

Send a report | Local help