# The InputBox of Form7.lcok_Click: "Mot de passe pour bloquer l'ordinateur". form: title: PASSWORD dialog: true width: 380 theme: dark accent: '#ff0000' gap: 8 children: - {type: label, text: "Mot de passe pour bloquer l'ordinateur :"} - {type: textbox, id: password, password: true, events: {submit: onPasswordSubmit}} - {type: label, text: 'Vide : une touche suffira pour revenir.', style: muted} - type: row children: - {type: spacer} - {type: button, id: cancel, text: Annuler, style: flat, cancel: true, events: {click: onCancelClick}} - {type: button, id: ok, text: OK, style: primary, default: true, events: {click: onOkClick}}