PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 by several WLanguage properties.
This type of variable is used by the Icon type.
Note: See Declaring a variable for more details.
Example
// Retrieve the first palette color for the first image of an icon
MyIcon is Icon = "MyIcon.ico"
Palette1 is Palette = MyIcon..Palette[1]
Color1 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.

Note: These properties can be used with one of the following syntaxes:
  • <Variable name>..<Property name>
  • <Variable name>.<Property name>
Minimum required version
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment