Class CheckBox

Inheritance

ButtonControl CheckBox 🡄 ButtonControl 🡄 WinControl 🡄 Control 🡄 Component 🡄 Object

Properties

AllowGrayed: True if it can have 3 states.
Checked True if checked.
OnChange Function to call when the state it changed.
State:

Methods

getAllowGrayed ()
getState () Returns a state for the checkbox.
onChange ( onchange )
setAllowGrayed ( allowgrayed )
setState ( state ) Sets the state of the checkbox.

Creation

createCheckBox ( owner ) Creates a CheckBox class object which belongs to the given owner.


Inheritance

ButtonControl
CheckBox 🡄 ButtonControl 🡄 WinControl 🡄 Control 🡄 Component 🡄 Object

Properties

AllowGrayed:
True if it can have 3 states. True/False/None. boolean
Checked
True if checked.

Type:

    boolean
OnChange
Function to call when the state it changed.
  • onchange function
State:
checkboxstate - The state. (cbUnchecked=0, cbChecked=1, cbGrayed=2)

Methods

getAllowGrayed ()

Returns:

    boolean
getState ()
Returns a state for the checkbox.

Possible return values: cbUnchecked, cbChecked, cbGrayed

onChange ( onchange )

Parameters:

  • onchange function
setAllowGrayed ( allowgrayed )

Parameters:

  • allowgrayed boolean
setState ( state )
Sets the state of the checkbox.

See also: CheckBox state

Parameters:

  • state boolean

See also:

Creation

createCheckBox ( owner )
Creates a CheckBox class object which belongs to the given owner. Owner can be any object inherited from WinControl.

Parameters:

Returns:

    CheckBox
generated by LDoc 1.4.6-antum-dev-1 Last updated 2019-02-27 23:30:35