Table of Contents

TTMSFNCBloxFormatBlockToolBar Class

Standalone toolbar that edits the shape appearance of the selected element - stroke, fill, picture, rotation and ordering. Use VisibleControls to pick the controls shown and the apply events to react to each change.

API unit family: TMSFNCBloxToolBar Inherits from: TTMSFNCToolBar

Syntax

TTMSFNCBloxFormatBlockToolBar = 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 format controls.

Methods

Name Description
BringToFrontButton Returns the bring-to-front button so its appearance can be customized.
FillColorPicker Returns the fill-color picker so its appearance can be customized.
FillColorToPicker Returns the secondary (gradient end) fill-color picker.
FillOrientationPicker Returns the fill-orientation picker so its appearance can be customized.
FillTypePicker Returns the fill-type picker so its appearance can be customized.
FirstSeparator Returns the first separator between the toolbar button groups.
ImageButton Returns the insert-image button so its appearance can be customized.
PictureModePicker Returns the picture-mode picker so its appearance can be customized.
RotateLeftButton Returns the rotate-left button so its appearance can be customized.
RotateRightButton Returns the rotate-right button so its appearance can be customized.
SecondSeparator Returns the second separator between the toolbar button groups.
SendToBackButton Returns the send-to-back button so its appearance can be customized.
SnapToGridButton Returns the snap-to-grid button so its appearance can be customized.
StrokeColorPicker Returns the stroke-color picker so its appearance can be customized.
StrokeStylePicker Returns the stroke-style picker so its appearance can be customized.
StrokeWidthPicker Returns the stroke-width picker so its appearance can be customized.
ThirdSeparator Returns the third separator between the toolbar button groups.

Events

Name Description
OnApplyFillColor Occurs when a fill color is applied from the toolbar.
OnApplyFillColorTo Occurs when the secondary (gradient end) fill color is applied from the toolbar.
OnApplyFillOrientation Occurs when a gradient fill orientation is applied from the toolbar.
OnApplyFillType Occurs when a fill type is applied from the toolbar.
OnApplyPictureMode Occurs when a picture display mode is applied from the toolbar.
OnApplyStrokeColor Occurs when a stroke color is applied from the toolbar.
OnApplyStrokeStyle Occurs when a stroke style is applied from the toolbar.
OnApplyStrokeWidth Occurs when a stroke width is applied from the toolbar.
OnBringToFront Occurs when the bring-to-front button is clicked.
OnInsertBitmap Occurs when a bitmap is inserted into the element from the toolbar.
OnRotateLeft Occurs when the element is rotated left from the toolbar.
OnRotateRight Occurs when the element is rotated right from the toolbar.
OnSendToBack Occurs when the send-to-back button is clicked.
OnSnapToGrid Occurs when the snap-to-grid button is clicked.