IdxAdornerTargetElement.GetControl Method
In This Article
Provides access to the control that implements the target UI element.
#Declaration
Delphi
function GetControl: TWinControl;
#Returns
Type |
---|
TWin |
#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