Skip to content



Below is a list of the most important properties methods and events for TWebBitBtn. Note that TWebBitBtn uses the Google Material Icons. Make sure to include this library in your project. (Select the Manage JavaScript Library from the project context menu)

Designtime Runtime

HTML template tag

The HTML tag the component can be associated with in an HTML template. Assign the ID attribute with a unique value and set the identical value to the ElementID property. Detailed information can be found in the Use of HTML templates topic.

ElementID UniqueID

Properties for TWebBitBtn

Property Description
Caption Sets the caption for the button
Flat When true, the button is displayed in flat style
Glyph Sets the optional image for the button
Layout Sets the position of the button image versus the button caption
blGlyphLeft: glyph left from caption
blGlyphRight: glyph right from caption
blGlyphTop: glyph on top of caption
blGlyphBottom: glyph under caption
MaterialGlyph Allows to pick an icon from the Google material icon set
MaterialGlyphColor Sets the color of the material glyph icon
MaterialGlyphSize Sets the size of the material glyph
MaterialGlyphType Sets the material glyph type (mgNormal, mgOutlined, mgRound, mgSharp, mgTwoTone)

Events for TWebBitBtn

Property Description
OnClick Event triggered when the button is clicked