Vcl.ExtActns.TRichEditItalic.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 | TRichEditItalic |
Description
Sets the Checked property to reflect whether the target control's text is italic.
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 the selected text of the target rich edit control (which is specified by the Control property or the Target parameter) is in italics. If the selected text is italic, UpdateTarget sets the Checked property to true, otherwise it sets Checked to false.