---
title: "CheckBox (Dialog Control)"
---
### Beschreibung

Dieses Element entspricht einer klassischen Check-Box in Windows.

### **Attribute**

| Name | Typ | Beschreibung |
| --- | --- | --- |
| Type | [string](../../../standard-datentypen/string.md) | "CheckBox" |
| Caption | [string](../../../standard-datentypen/string.md) | Beschriftung der Checkbox |
| ID | [integer](../../../standard-datentypen/integer.md) | ID Nummer der Checkbox (muss eindeutig sein im Dialog) |
| SizeX | [integer](../../../standard-datentypen/integer.md) | Breite des Elementes in Pixel |
| Checked | [integer](../../../standard-datentypen/integer.md) | <> 0 = Die Checkbox ist gecheckt |
| Callback | [string](../../../standard-datentypen/string.md) | Name der Callback-Funktion für dieses Element |

### **Beispiel**

```
"Control" : { "Type":"CheckBox", "Caption":"Eingeschalten", "ID":1001, "SizeX":300, "Checked":1 }
```

**Ereignis-Meldungen**

| Name |  | Beschreibung |
| --- | --- | --- |
| "ButtonClick" |  | Wird die Checkbox geklickt, wird diese Meldung erzeugt. |
