PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Properties specific to the description of Palette variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Palette (Type of variable)
In french: Palette
The Palette type is used to define the advanced characteristics of a color palette. The characteristics of this Palette can be defined and modified using different WLanguage properties.
This type of variable is used by the Icon type.
Remark: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
Versions 21 and later
Universal Windows 10 App This type of variable is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This type of variable is now available in Universal Windows 10 App mode.
Universal Windows 10 App This type of variable is now available in Universal Windows 10 App mode.
Example
// Récupération de la première couleur de la palette de la première image d'une icône
MonIcône is Icon = "MonIcone.ico"
Palette1 is Palette = MonIcône.Palette[1]
Couleur1 is Color = Palette1[1]
Remarks

Properties specific to the description of Palette variables

The following properties can be used to handle a color palette:
Property nameType usedEffect
ColorArray of ColorArray containing the palette colors.
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment