CheckBoxControl class

CheckBoxControl class

The CheckBox control toggles a value.

Remarks

It has three possible states: selected, cleared, and neither selected nor cleared, meaning a combination of on and off states.

Inheritance: CheckBoxControlMorphDataControlForms2OleControlOleControl

Properties

NameDescription
back_colorGets or sets a background color of the control. The default value depends on a type of the control.
(Inherited from Forms2OleControl)
captionGets Caption property of control. Default value is an empty string.
(Inherited from Forms2OleControl)
checkedGets or sets a boolean value indicating either this CheckBoxControl is checked or not. The default value is False.
child_nodesGets collection of immediate child controls.
(Inherited from Forms2OleControl)
enabledReturns True if control is in enabled state.
(Inherited from Forms2OleControl)
fore_colorGets or sets a foreground color of the control. The default value depends on a type of the control.
(Inherited from Forms2OleControl)
group_nameGets or sets a string that specifies a group of mutually exclusive controls. The default value is an empty string.
(Inherited from Forms2OleControl)
heightGets or sets a height of the control in points.
(Inherited from Forms2OleControl)
is_forms2_ole_controlReturns True if the control is a Forms2OleControl.
(Inherited from OleControl)
nameGets or sets name of the ActiveX control.
(Inherited from OleControl)
typeGets type of Forms 2.0 control.
valueGets underlying Value property which often represents control state. For example checked option button has ‘1’ value while unchecked has ‘0’. Default value is an empty string.
(Inherited from Forms2OleControl)
widthGets or sets a width of the control in points.
(Inherited from Forms2OleControl)

Methods

NameDescription

See Also