Skip to main content

TdxColorDialogGetBasicColorsEvent Type

The procedural type for basic color gallery population events.

Declaration

TdxColorDialogGetBasicColorsEvent = procedure(Sender: TObject; var BasicColors: TdxColorDialogBasicColors) of object;

Parameters

Name Type Description
Sender TObject

Provides access to the TdxColorDialog component that raised this event.

Cast the Sender parameter value to the TdxColorDialog class to access all public API members.

BasicColors TdxColorDialogBasicColors

The target array of basic colors (TdxAlphaColor) prepopulated with values stored in the dxColorDialogDefaultBasicColors constant.

Use this parameter to modify the Basic Colors palette.

Remarks

Direct TdxColorDialogGetBasicColorsEvent Type Reference

The TdxCustomColorDialog.OnGetBasicColors event references the TdxColorDialogGetBasicColorsEvent procedural type.

See Also