Skip to main content

TdxCustomColorDialog.OnClose Event

Allows you to execute custom code when the Color Editor dialog is closed.

Declaration

property OnClose: TNotifyEvent read; write;

Remarks

Handle the OnShow and OnClose events to execute custom code when the Color Editor opens or closes. For example, you can apply the selected color value to the target component when users close the dialog.

Event Occurrence

The OnClose event occurs every time the Color Editor dialog is closed.

Event Parameter

The Sender parameter provides access to the TdxColorDialog component that raised the OnClose event. Cast the Sender parameter value to the TdxColorDialog class to access all public API members.

See Also