Vcl.ExtActns.TURLAction.UpdateTarget
Delphi
procedure UpdateTarget(Target: TObject); override;
C++
virtual void __fastcall UpdateTarget(System::TObject* Target);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.ExtActns.pas Vcl.ExtActns.hpp |
Vcl.ExtActns | TURLAction |
Description
Enables or disables the action, depending on whether the URL property is set.
Do not call the UpdateTarget method. This method is called automatically the application is idle so that actions can update themselves according to current conditions.
In TURLAction, UpdateTarget checks whether the URL property has been set. If so, UpdateTarget sets Enabled to true. If not, UpdateTarget sets Enabled to false.