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 / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de Windows / Funciones varias de WINDEV
  • Tip
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
Allows you to get a set of harmonious colors without having to use a table of colors.
Ejemplo
// Fill in the data of the Chart control
FOR I = 1 TO 12
	// Adds the turnover of month number I
	grAddData(CHART_MyChart, I, arrValues[I])

	// Assigns a color to the series of month number I
	grSeriesColor(CHART_MyChart, I, GetColor())
END
Sintaxis
<Result> = GetColor([<Subscript> [, <Serial>]])
<Result>: Integer
Color in RGB format.
WEBDEV - Código Navegador <Result> corresponds to a Color variable.
<Subscript>: Optional integer
Number of the color to retrieve.
If this parameter is not specified, the color returned is a color that has never been used.
If this parameter is specified, the same color will always be returned for a given subscript.
PHP This parameter is not available.
<Serial>: Optional Integer constant
Constant indicating the style of color set to retrieve:
colSetDarkThe returned color is chosen among a set of darker colors (suitable for the TreeMap control for example).
colSetDefault
(Default value)
The returned color is chosen among a set of standard colors.
colSetPaletteThe returned color is chosen among the set of colors defined for the current palette.
WINDEVAndroidWidget Android iPhone/iPadIOS WidgetMac CatalystJava This constant is not available.
colSetPastelThe returned color is chosen among a set of lighter colors.
colSetTemplateThe returned color is chosen among the set of colors defined for the current skin template.
WEBDEV - Código ServidorWEBDEV - Código NavegadorPHP This constant is not available.
Observaciones
WEBDEV - Código Navegador

Tip

If the result is displayed in a trace (Trace), the Color variable is converted into a string corresponding to the color in RGB format.
Clasificación Lógica de negocio / UI: Código UI
Componente: wd300obj.dll
Versión mínima requerida
  • Versión 15
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

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