Standalone toolbar with the drawing tools that pick the next element to create - selection mode, block, polygon, line, arc, bezier, poly-line and a drop-down of other registered elements.
API unit family: TMSFNCBloxToolBar
Inherits from: TTMSFNCToolBar
Syntax
TTMSFNCBloxSelectToolBar = class(TTMSFNCToolBar)
Properties
Name
Description
BloxControl
The design surface the drawing tools act on.
VisibleControls
The set of drawing tools shown on the toolbar. Defaults to all tools.
Methods
Name
Description
BlockButton
Returns the block-drawing button so its appearance can be customized.
LineButton
Returns the line-drawing button so its appearance can be customized.
OtherButton
Returns the drop-down button that offers the remaining registered elements.
PolyLineButton
Returns the poly-line-drawing button so its appearance can be customized.
PolygonButton
Returns the polygon-drawing button so its appearance can be customized.
SelectButton
Returns the selection-mode button so its appearance can be customized.
Events
Name
Description
OnSelectArc
Occurs when arc-drawing mode is activated from the toolbar.
OnSelectBezier
Occurs when bezier-drawing mode is activated from the toolbar.
OnSelectBlock
Occurs when block-drawing mode is activated from the toolbar.
OnSelectLine
Occurs when line-drawing mode is activated from the toolbar.
OnSelectMouse
Occurs when selection (mouse) mode is activated from the toolbar.
OnSelectOther
Occurs when an element is chosen from the drop-down of other elements.
OnSelectPolyLine
Occurs when poly-line-drawing mode is activated from the toolbar.
OnSelectPolygon
Occurs when polygon-drawing mode is activated from the toolbar.