ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Drawing functions / Types of variables
  • 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 changed using different WLanguage properties.
This type of variable is used by the Icon type.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
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.
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help