ImageEn, unit hyieutils

TImageEnPaletteDialog


Declaration

TImageEnPaletteDialog = class(TForm);


Description

Dialog that shows a color palette and allows a color to be selected from it.


Methods

  Execute
  SetPalette


Example

var
  palDlg: TImageEnPaletteDialog;
Begin
  palDlg := TImageEnPaletteDialog.Create(self);
  palDlg.SetPalette(ImageEnView1.IO.Params.ColorMap^, ImageEnView1.IO.Params.ColorMapCount);
  if palDlg.Execute then
    Panel1.Color := palDlg.SelCol;
  palDlg.free;
End;


See Also

 IEPromptForColor
 CalcImagePalette