Vcl.Graphics.TGraphic.PaletteModified

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property PaletteModified: Boolean read FPaletteModified write FPaletteModified;

C++

__property bool PaletteModified = {read=FPaletteModified, write=FPaletteModified, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TGraphic

Description

Indicates whether the palette has changed.

Use PaletteModified to determine if the palette used for a graphical image has changed. PaletteModified is used in the OnChange event. PaletteModified remains true until whoever is responsible for realizing this new palette (for example, TImage) sets it to false.