WEBGUI

wgCheckBox

Edit a logical value with a check box

Syntax

Signature
wgCheckBox():New( oParent, [cText], [lChecked] ) --> oCheckBox
oCheckBox:onChange := {| oCheckBox | ... }

Arguments

oParent

Window or layout container.

cText

Caption displayed next to the check box.

lChecked

Initial state. The default is .F..

Return value

The check box object.

Description

:value is .T. when checked and .F. when clear. onChange runs when the user toggles the check box. Assign :text to change the caption.

See also