checkbox

Description

The checkbox tag creates an checkbox element (TCheckBox) in its parent. It contains a text string.

Attributes

    backgroundcolor
    checked (false)
    fontbold
    fontitalic
    fontname
    fontsize
    fontunderline
    foregroundcolor
    id (required)
    onclick
    oncreate (false)
    ondestroy (false)
    popup
    position (center)
    state (enabled)
    text

Children

none.

Description of attributes

checked

Specifies whether or not the checkbox is checked by creation. Allowed values are true and false. The default value is false.

onclick

Specifies whether the checkbox has an onclick event. An onclick event occurs when the checkbox is clicked with the left mouse button. When the value of this attribute is true, an entry, for handling the event, will be created in the code-frame of the parent window. The checkbox is automatically toggled so you do not have to program that in the code-frame section.

text

Specifies the text to be displayed in the checkbox element.