Skip to main content

TdxTokenEditProperties.OnCustomDrawToken Event

Enables you to implement the custom painter for token boxes in the token editor.

Declaration

property OnCustomDrawToken: TdxTokenEditCustomDrawTokenEvent read; write;

Remarks

The Sender parameter specifies the token whose box is being painted.

The ACanvas parameter specifies the drawing surface.

The AViewInfo parameter provides ViewInfo information required for painting a token box.

The AHandled parameter specifies if default painting is required. Set AHandled to True if you implement the custom token box painter in the OnCustomDrawToken event handler.

See Also