RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRichEditStrikeOut Class

TRichEditStrikeOut toggles the strikeout attribute of the currently selected text in a rich edit control.

Pascal
TRichEditStrikeOut = class(TRichEditAction);
C++
class TRichEditStrikeOut : public TRichEditAction;

ExtActns

Add TRichEditStrikeOut to an action list to let users control whether the selected text in a rich edit control has a line through it. Controls such as menu items and tool buttons linked to this action cause the application to toggle the strikeout attribute of selected text (or of all text if there is no text selected). 

TRichEditStrikeOut is designed to work with a rich edit control (TCustomRichEdit descendant) as a target. It automatically disables itself if the active control in a form is not a rich edit control and adds or removes a check mark to indicate whether the target control's text has the strike out attribute. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!