Programmieren mit dBASE PLUS: Klasse ColumnCheckBox

Aus Wikibooks


A checkbox in a grid column.

Syntax[Bearbeiten]

These controls are created by assigning the appropriate editorType to the GridColumn object.

spezielle Eigenschaften[Bearbeiten]

Die folgenden Tabellen enthalten die speziellen Eigenschaften und Methoden der Klasse
ColumnCheckBox. (Spezielle Events und Methoden sind mit dieser Klasse nicht verbunden.)
Eigenschaft Vorgabe Beschreibung
baseClassName COLUMNCHECKBOX Kennzeichnet das Objekt als Instanz der Klasse ColumnCheckBox.
className COLUMNCHECKBOX Kennzeichnet das Objekt als Instanz der abgeleiteten benutzerdefinierten Klasse. Wenn keine benutzerdefinierte Klasse existiert, gilt die Voreinstellung von baseClassName.
colorHighlight The color of the cell containing the ColumnCheckBox object when the cell has focus
colorNormal WindowText
/Window
The color of the cell containing the ColumnCheckBox object when the cell does not have focus
value The current value of the check box (true or false)

Basis Eigenschaften[Bearbeiten]

Die folgende Tabelle enthält die Basis-Eigenschaften, -Events und -Methoden
der Klasse ColumnCheckBox
Eigenschaft Event Methode

hWnd
parent
speedTip
statusMessage

beforeCellPaint
onCellPaint
onGotFocus
onLostFocus

keine

Beschreibung[Bearbeiten]

A ColumnCheckBox is a simplified CheckBox control in a grid column. When the enumerated editorType property of a GridColumn control is set to CheckBox, the column uses a ColumnCheckBox control, which is accessible through the GridColumn object’s editorControl property. The box around the checkmark is displayed only for the cell that has focus. For the other cells in the column that do not have focus, there is only a checkmark if the value is true; or nothing if the value is false—the cell appears empty.

As with all column controls, the dataLink and width for the control is in the parent GridColumn object, not the control itself. The height is controlled by the cellHeight of the grid.

Beispiele[Bearbeiten]