Download Now

    Reference TAdvancedColorDialogForm

    Declared in Codebot.Forms.ColorDialog.pas on line 104

      TAdvancedColorDialogForm = class(TForm)
      protected
        procedure DoShow; override;
      public
        { Create the dialog form and its controls }
        constructor Create(AOwner: TComponent); override;
        { Load the custom colors from CustomColorsFile }
        procedure LoadCustomColors;
        { Save the custom colors to CustomColorsFile }
        procedure SaveCustomColors;
        { The selected color including alpha. Setting it also sets the original
          color shown in the preview. }
        property ColorValue: TColorB read FColor write SetColorValue;
        { The file where custom colors are saved. When empty a file named
          customcolors.txt in the application config directory is used. }
        property CustomColorsFile: string read GetCustomColorsFile write FCustomColorsFile;
      end;

    See also

    TColorB in Codebot.Graphics.Types.pas