Skip to main content

TdxCustomColorDialog.OnGetBasicColors Event

Allows you to populate the Basic Colors gallery with custom colors.

Declaration

property OnGetBasicColors: TdxColorDialogGetBasicColorsEvent read; write;

Remarks

Handle the OnGetBasicColors event to populate the Basic Colors gallery in the Color Editor dialog with custom colors.

Event Occurrence

The OnGetBasicColors event occurs every time the Color Editor dialog is displayed.

Event Parameters

Sender
Provides access to the TdxColorDialog component that raised the OnGetBasicColors event.
BasicColors
Provides access to an array of basic colors initialized with values from the dxColorDialogDefaultBasicColors constant. Use this parameter to modify basic colors directly.
See Also