CreatePalette()

Syntax

Result = CreatePalette(#Palette)

Description

Create a new, empty 256 colors palette. The palette is initialized with the color 0. If 'Result' is 0 the #Palette creation has failed. The previous #Palette object is automatically freed.

Supported OS

Windows, AmigaOS, Linux

Palette - Index