RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TEditAction.GetControl Method

Returns the target of the edit action.

Pascal
function GetControl(Target: TObject): TCustomEdit; virtual;
C++
virtual __fastcall TCustomEdit GetControl(TObject * Target);

TEditAction uses the protected GetControl method internally to obtain the target of the action. Target is the currently active object or the value of the Control property. GetControl returns the target object as an edit control. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!