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.
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
// 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