Increment Button
Qubes 5.6 Increments its own value by 1 with each click.
Properties
| Property | Description |
| AutoInterval | Interval (in milliseconds) for automatic incrementation (Qubes 5.6). |
| Caption | String providing a caption for the component. |
| Enabled | Boolean indicating whether or not the component is enabled. |
| FastTap | Boolean indicating whether or not fast tapping is enabled for a button (Qubes6.5). |
| Hint | Specifies the user hint string that will appear in the component's interactive help bubble. |
| Icon | String indicating the image to use for an icon (Qubes 5.4). |
| IconSize | Dimensions of your icon, can be written as one or two values, syntax detailed there (Qubes 9.0). |
| TabIndex | Integer indicating the component's tab order (Qubes 5.6). |
| ValueInitial | Determines the component's initial value when the screen opens and each time it is reset (see Reset Button). |
| Visible | Boolean indicating whether or not the component will be visible. |
| Theme | String defining the appearance of the button, uses button styles (Qubes 9.0). |
Value
Returns the value of the button. It will initially be ValueInitial, then ValueInitial+1 after the first click on the button, and so on.
Remarks
If you want to decrement, simply subtract the value of an increment button, rather than adding it.
For a non-unit step, simply multiply the value of an increment button.
AutoInterval performs automatic incrementation, similar to a user clicking on the button periodically. This property should mainly be reserved for cases when the screen is used as a display, rather than for input. Short intervals (of around one second or less) should be used with caution.
Note: Button captions are always single-line (so any line breaks are replaced by spaces).