Skip to main content
Table of Contents

TTMSFNCBloxToolBarButton Class

Toolbar button that inserts a specific element type into the design surface when clicked. The element created can be customized through OnSetElement.

API unit family: TMSFNCBloxToolBar Inherits from: TTMSFNCCustomToolBarButton

Syntax

GeneratedPascalC++
TTMSFNCBloxToolBarButton = class(TTMSFNCCustomToolBarButton)
class PASCALIMPLEMENTATION TTMSFNCBloxToolBarButton : public TTMSFNCCustomToolBarButton

Properties

Name Description
ElementType The kind of element the button inserts when clicked.

Events

Name Description
OnSetElement Occurs before the element is inserted, allowing the new element to be replaced or configured.