Der XdevButton wird i.d.R. benutzt um eine Aktion auszulösen, z.B. zum Speichern eines FormularsThe XdevButton is usually used to trigger an action, for example to store a form.
- Fügen Sie einen XdevButton in eine leere View ein.
- Klicken Sie den XdevButton mit Doppelklick an und ändern Sie die Beschriftung, z.B. in Save.
- Klicken Sie in den Properties > Icon auf ..., klicken Sie im folgenden Dialog auf FontAwesome, wählen Sie ein Icon aus, z.B. SAVE, und klicken Sie auf OK.
Ergebnis:
- Im GUI-Builder
...
- Add an XdevButton to an empty view.
- Double-click the XdevButton and change the label to Save, for example.
- Click Properties > Icon and then ..., in the following dialog, click FontAwesome, choose an icon, e.g. SAVE, and click OK.
Result:
- In the GUI Builder
Important events:
Include Page Event buttonClick Event buttonClick
...
Important properties:
Include Page Property DisableOnClick Property DisableOnClick