Table of Contents

TTMSFNCBloxFormatBlockTextToolBar Class

Standalone toolbar that edits text formatting for the selected element - font name and size, bold, italic, underline, strikeout, alignment and text color. Use VisibleControls to pick the controls shown.

API unit family: TMSFNCBloxToolBar Inherits from: TTMSFNCToolBar

Syntax

TTMSFNCBloxFormatBlockTextToolBar = class(TTMSFNCToolBar)

Properties

Name Description
BloxControl The design surface the toolbar commands act on.
VisibleControls The set of controls shown on the toolbar. Defaults to all text controls.

Methods

Name Description
AlignCenterButton Returns the align-center button so its appearance can be customized.
AlignLeftButton Returns the align-left button so its appearance can be customized.
AlignRightButton Returns the align-right button so its appearance can be customized.
BoldButton Returns the bold button so its appearance can be customized.
FirstSeparator Returns the first separator between the toolbar button groups.
FontNamePicker Returns the font-name picker so its appearance can be customized.
FontSizePicker Returns the font-size picker so its appearance can be customized.
ItalicButton Returns the italic button so its appearance can be customized.
SecondSeparator Returns the second separator between the toolbar button groups.
StrikeoutButton Returns the strikeout button so its appearance can be customized.
TextColorPicker Returns the text-color picker so its appearance can be customized.
ThirdSeparator Returns the third separator between the toolbar button groups.
UnderlineButton Returns the underline button so its appearance can be customized.

Events

Name Description
OnAlignCenter Occurs when the align-center button is clicked.
OnAlignLeft Occurs when the align-left button is clicked.
OnAlignRight Occurs when the align-right button is clicked.
OnApplyBold Occurs when the bold button is clicked.
OnApplyFontName Occurs when a font name is applied from the toolbar.
OnApplyFontSize Occurs when a font size is applied from the toolbar.
OnApplyItalic Occurs when the italic button is clicked.
OnApplyStrikeout Occurs when the strikeout button is clicked.
OnApplyTextColor Occurs when a text color is applied from the toolbar.
OnApplyUnderline Occurs when the underline button is clicked.