Skip to main content

TdxCustomAdorner.OnClick Event

Allows you to respond to a click on the UI adorner element.

Declaration

property OnClick: TdxAdornerNotifyEvent read; write;

Remarks

You can handle this event to implement a custom response to a click on the current adorner. To execute a specific code in response to clicking different adorners, you can either handle their OnClick events or identify individual adorners (by using their class names and indexes within the corresponding collection, for instance) within the UI adorner manager‘s OnAdornerClick event handler.

Refer to the TdxAdornerNotifyEvent procedural type description for additional information on parameters accessible from an OnClick event handler.

Note

A click on a guide UI adorner additionally raises the OnGetCalloutPopupControl event if the adorner’s AllowCalloutPopup property is set to True.

See Also