AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Funcionalidades Automáticas de la Aplicación (FAA) / FAA en Tablasy Tablas TreeView
  • Overview
  • Coloring an element
  • Programming
  • Programming the color of cells, rows, ...
  • Disabling colors on the elements of a control
  • Modifying the caption of the "Background color" option in the context menu
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Overview
To simplify the reading in the controls used to view large volumes of data, the end user has the ability to color the data found in the control.
The data displayed in the following controls can be colored:
  • Table field: cell, row, column
  • Field Hierarchical table: cell, row, column
  • Dynamic Crosstab array: cell or multi-selection of cells.
Note: This option is only available for "programmed" fields or "file loaded into memory" fields.. This option is not available for Table controls with direct access to the data source.
Coloring an element
To color a row, column, cell, ...:
  1. Select the element to color in the control.
  2. Select "Background color" in the context menu of element and select the requested color in the list.
The "Default color" option is used to restore the initial color.
Remark: The chosen color is only available when the. This information will not be stored when closing the window.
Programming

Programming the color of cells, rows, ...

The colors of a Table control (background color of rows, cells) can be modified through programming with the following properties:
For more details on the syntaxes to use, see Defining colors in Table controls.

Disabling colors on the elements of a control

To disable colors on the elements of a control, use AAFDisable with the aafChangeBackgroundColor constant. The menu option will not be proposed.
For example:
// Prevent from changing the background color
AAFDisable(TABLE_Customer, aafChangeBackgroundColor)

Modifying the caption of the "Background color" option in the context menu

The caption of the menu option allowing the user to modify the background color is "Background color". To modify this caption, use AAFChangeCaption associated with the aafChangeBackgroundColor constant.
For example:
// Prevent from changing the background color
AAFChangeCaption(TABLE_Customer, aafChangeBackgroundColor, "Choose a background color")
Versión mínima requerida
  • Versión 20
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 30/09/2024

Señalar un error o enviar una sugerencia | Ayuda local