Sign in Join
FPDoc Onlineexperiment

TSharedCustomBitmap.FreePalette procedure

Member of TSharedCustomBitmapprotectedIn unit Graphics

Frees the handle in the Palette property.

Declaration

pascal
procedure FreePalette

Description

FreePalette is a procedure used to free the handle assigned for the Palette. FreePalette calls DeleteObject to release the Palette handle. The Palette handle is set to 0 ( zero) to indicate that the handle is no longer in use or is invalid.

No actions are performed in the method when the Palette handle contains 0 on entry.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.