ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV and WINDEV Mobile 2025 feature!
This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Palette functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Changes the palette used by the project or by a window.
Note From version 2025 Update 2 onwards, palettes can be loaded simply by entering the name of the corresponding file.
Example
CustomerPalette is Palette = PaletteGenerate(CustomerColor)
PaletteChange(WIN_Customer, CustomerPalette)
// Syntax available as of version 2025 Update 2
PaletteChange("Themes\WD\300 Eleven_Palette\Eleven_Palette.wdpalette")
Syntax

Change the palette used by the project or a window (palette-type variable) Hide the details

PaletteChange([<Window>, ] <New palette>)
<Window>: Window name
Name of the window to be used. The palette used by this window will be replaced by the specified palette.
If this parameter is not specified, the project palette will be modified. In this case, all project windows are modified.
<New palette>: Palette variable
Name of the Palette variable corresponding to the new palette that will be used for the specified window or project.

Change project palette ("wdpalette" file) Hide the details

PaletteChange(<New palette>)
<New palette>: Character string
Full path of the ".wdpalette" file to be used.
Business / UI classification: UI Code
Component: wd300pnt.dll
Minimum version required
  • Version 2025
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/25/2025

Send a report | Local help