Standalone toolbar with the document, clipboard, history and zoom commands for a connected design surface. Use VisibleControls to choose which buttons are shown and the command events to react to each action.
API unit family: TMSFNCBloxToolBar
Inherits from: TTMSFNCToolBar
Syntax
TTMSFNCBloxEditToolBar = class(TTMSFNCToolBar)
Properties
Name
Description
BloxControl
The design surface the toolbar commands act on.
VisibleControls
The set of buttons shown on the toolbar. Defaults to all edit commands.
ZoomInterval
The amount added to or subtracted from the zoom level per zoom-in/zoom-out step.
Methods
Name
Description
CopyButton
Returns the copy button so its appearance can be customized.
CutButton
Returns the cut button so its appearance can be customized.
FirstSeparator
Returns the first separator between the toolbar button groups.
OpenFileButton
Returns the open-file button so its appearance can be customized.
PasteButton
Returns the paste button so its appearance can be customized.
RedoButton
Returns the redo button so its appearance can be customized.
SaveFileButton
Returns the save-file button so its appearance can be customized.
SecondSeparator
Returns the second separator between the toolbar button groups.
ThirdSeparator
Returns the third separator between the toolbar button groups.
UndoButton
Returns the undo button so its appearance can be customized.
ZoomFitButton
Returns the zoom-to-fit button so its appearance can be customized.
ZoomInButton
Returns the zoom-in button so its appearance can be customized.
ZoomOutButton
Returns the zoom-out button so its appearance can be customized.
Events
Name
Description
OnCopy
Occurs when the copy button is clicked.
OnCut
Occurs when the cut button is clicked.
OnOpenFile
Occurs when the open-file button is clicked.
OnPaste
Occurs when the paste button is clicked.
OnRedo
Occurs when the redo button is clicked.
OnSaveFile
Occurs when the save-file button is clicked.
OnUndo
Occurs when the undo button is clicked.
OnZoomFit
Occurs when the zoom-to-fit button is clicked.
OnZoomIn
Occurs when the zoom-in button is clicked.
OnZoomOut
Occurs when the zoom-out button is clicked.