Vcl.ExtActns.TRichEditAlignCenter.UpdateTarget

From RAD Studio API Documentation
Jump to: navigation, search

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 TRichEditAlignCenter

Description

Configures the action, depending on current conditions.

Do not call the UpdateTarget method. This method is called automatically when the application is idle so that actions can update themselves according to current conditions.

In TRichEditAlignCenter, UpdateTarget sets Enabled to true and sets the Checked property to true if the text in the current paragraph is centered.

See Also