Skip to main content

IdxAdornerTargetElement.GetControl Method

Provides access to the control that implements the target UI element.

Declaration

function GetControl: TWinControl;

Returns

Type
TWinControl

Remarks

Call this function to access the UI element that a UI adorner uses as a target. To access the target control’s type-specific members, cast the GetControl function result to the corresponding class. Call the GetControl.ClassName function to identify the target UI element’s actual class.

See Also