Vcl.StdActns.TEditAction.GetControl
Delphi
function GetControl(Target: TObject): TCustomEdit; virtual;
C++
virtual Vcl::Stdctrls::TCustomEdit* __fastcall GetControl(System::TObject* Target);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.StdActns.pas Vcl.StdActns.hpp |
Vcl.StdActns | TEditAction |
Description
Returns the target of the edit action.
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.