cBitBtn
The button component puts a button on your form. Usually it is part of a form and will be used to submit your form data to your application. But it can also be used to start an ajax event, be used as a link etc.
Properties
|
Description |
Active |
Button is in use |
ApplicationLink |
Link to application, if the button is defined as 'link'. |
Applinkparameters |
Parameters as in a=b pairs. |
Badge |
Display a badge |
BadgeValue |
Value to display in the badge |
ButtonAlign |
Float value of the button, values are float-none, float-left, float-right. It will force the button to the given position if applied in a container like a column. |
ButtonClass |
Button class as described in the bootstrap manual |
ButtonId |
A value that is used to identify the button in events. |
ButtonSize |
A value that describes the size of the button, default, large, or small. |
ButtonSizeExt |
A value that enhnces the button as a block (full width) |
ButtonType |
Button, to be used in javascript events or submit to submit a form. Other options modal (to popup a modal form), link (to jump to another application), tfa (to inhibit multifactor). |
Class |
Points to the CSS editor for aditional classes |
DeviceClass |
See layout. |
EditState |
This property applies to the non-db version only. Usually fields responds to the edit state of the assigned datastource. If the datasource is in read state, all fields are disabled. But if you need to combine controls that are not data-aware then you need to 'unbind' the variable. Values are 'automatic', it behaves like any other field, always on (the field can be edited any time) or always off (the field is always display-only). |
Enabled |
Shows button as enabled or disabled (grayed) |
Form |
The form that the button applies to. |
Glyphicon |
Image within the button. |
Label |
Text to be displayed inside the button |
Top |
Location of component in the designer. No function within bootstrap |
Owner |
Owner of the component |
Width |
The width of the button in the designer. No function within bootstrap. |
Height |
The height of the button in the designer. No function within bootstrap. |
PHP Events
|
Description |
onActivate |
Triggers when all components are created |
onClick |
Triggers when the user clicks on the button |
onCreate |
Triggers when the component is created |
onDestroy |
Triggers when the component is destroyed |
JavaScript Events
|
Description |
onClick |
Triggers when the user clicks the button. Clicking leads to an ajax call to the server event onClick |