TW3ToolbarButton

From Smart Mobile Studio
Jump to: navigation, search


Represents class for button placed on TW3Toolbar component.


Unit: W3Toolbar.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