[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Determine if a handle has been allocated for the Palette in the icon.
Source position: graphics.pp line 1672
public function TCustomIcon.PaletteAllocated: Boolean; override; |
True when the Palette handle has been allocated for the icon.
PaletteAllocated is an overridden method used to determine if a handle has been allocated for the Palette in the icon image. PaletteAllocated implements the abstract virtual method defined in the ancestor class.
The return value is True when Current contains a value other than -1, and the palette handle in the TIconImage instance for the shared icon image has a non-zero value.
Remark: | While provided as property in TCustomIcon, Palette is never assigned in the TIconImage class instances used to represent the individual images in the icon. Effectively, Palette is not implemented for TCustomIcon and PaletteAllocated will always return False. |
|
PaletteAllocated - returns True if a Palette has been allocated. |
|
|
Implements a reference-counted shared Icon image type. |
|
|
Handle for the Palette. |
Version 3.2 | Generated 2024-02-25 | Home |