DesignerToolboxItem class

One tool in a designer’s TOOLBOX, made with DesignerToolbox.AddItem. Held WithEvents, it raises OnClick when the user clicks it in the TOOLBOX.

Properties

Caption

The tool’s name. String.

Syntax: item.Caption [ = value ]

IconData

The tool’s icon, as the text of an SVG picture that starts with <svg. Variant.

Syntax: item.IconData [ = value ]

Events

OnClick

Raised when the user clicks the tool. The TOOLBOX then shows it as the selected tool, and keeps it so when the tab is left and chosen again. No tool is selected at first.

Syntax: item_OnClick()

See Also