Vcl.ExtActns.TRichEditStrikeOut.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 TRichEditStrikeOut

Description

Sets the Checked property to reflect whether the target control's text includes a strikeout line.

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.

Target is the currently active object when the action fires.

UpdateTarget checks whether Target is a rich edit control with the strikeout font attribute on its selected text. If the selected text is struck out, UpdateTarget sets the Checked property to true, otherwise it sets Checked to false.

See Also