TW3ToolbarButton



TW3ToolbarButton


Represents class for button placed on TW3Toolbar component.


Unit: SmartCL.Controls.Toolbar.pas

Hierarchy
TObject
TW3TagObj
TW3Component
TW3MovableControl
TW3CustomControl
TW3ToolbarButton
Properties
Property-icon.png Caption
Property-icon.png Glyph

Properties

Property-icon.png Caption

Specifies button text.

property Caption: String read FCaption write setCaption;

Property-icon.png Glyph

Identify TW3Image object to be displayed in button.

property Glyph: TW3Image read FGlyph;

Example:

W3Toolbar1.add.Glyph.LoadFromURL('res/my_image.png'); // from resources