|
<< Click to display table of contents >> Actions |
The actions are an alternative way to perform operations in a TRichViewEdit editor for FireMonkey. The TRVWidget component provides the same operations as the actions, as well as many additional ones.
Unlike actions for VCL and Lazarus, FireMonkey actions do not work with the editor that currently has the input focus. The editor must be specified explicitly in the ControlPanel.Editor property.
An important requirement for all such actions is that they must be placed in the TActionList assigned to the ActionList property of a TRVControlPanel component. Only in this case are the action states (Enabled and Checked properties) updated correctly.
These classes are not used directly.
Basic actions:
•TrvCustomAction – parent class for all actions
•TrvAction – parent class for actions that work with a TRichViewEdit editor
Basic actions for working with text:
•TrvActionTextStyles – parent class for actions that work with the TextStyles property
•TrvActionFontStyle – parent class for actions that work with the TextStyles[].Style property
•TrvActionFontStyleEx – parent class for actions that work with the TextStyles[].StyleEx property
•TrvActionSSScript – parent class for actions that work with the TextStyles[].SubSuperScript property
Basic actions for working with paragraphs:
•TrvActionParaStyles – parent class for actions that work with the ParaStyles property
•TrvActionAlignment – parent class for actions that work with the ParaStyles[].Alignment property
Changing text style:
•TrvActionFontBold makes text bold
•TrvActionFontItalic makes text italic
•TrvActionFontUnderline underlines text
•TrvActionFontStrikeout strikes out text
•TrvActionFontOverline overlines text
•TrvActionFontAllCaps displays text in uppercase letters
Subscript and superscript:
•TrvActionSubscript makes text subscript
•TrvActionSuperscript makes text superscript
Alignment:
•TrvActionAlignLeft aligns text to the left
•TrvActionAlignCenter centers text
•TrvActionAlignRight aligns text to the right
•TrvActionAlignJustify justifies text
Indents:
•TrvActionIndentDec decreases the indent
•TrvActionIndentInc increases the indent
Widget control:
•TrvActionExpandWidget expands or collapses the widget