Button
The Button represents a clickable button control.
The Button inherits all the methods and properties from the base class View.
Constructor:
constructor(parent: View)
Creates an instance of Button control.parent: the View containing the control itself.
Properties:
caption: string
The text label displayed on the button.icon: string | Icon
An icon to be displayed on the button. Value must be the name of an icon in SYS$ICON document class. The best practice is to use Icons.name_of_icon. You can add your own custom icons or change the existing ones viaSystem Management→Iconsapp.iconAlignment: IconAlignment
Specifies the alignment of the icon relative to the text caption. Possible values are:IconAlignment.LeftIconAlignment.RightIconAlignment.TopIconAlignment.BottomIconAlignment.Center