RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRichEditBold.UpdateTarget Method

Sets the Checked property to reflect whether the target control's text is bold.

Pascal
procedure UpdateTarget(Target: TObject); override;
C++
virtual __fastcall UpdateTarget(TObject * Target);

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 sets the Checked property to true if Target is a rich edit control whose selected text is bold, otherwise it sets Checked to false. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!