OptionButtonControl class

OptionButtonControl class

The OptionButton control enables a single choice in a limited set of mutually exclusive choices.

Inheritance: OptionButtonControlMorphDataControlForms2OleControlOleControl

Properties

NameDescription
backColorGets or sets a background color of the control. The default value depends on a type of the control.
(Inherited from Forms2OleControl)
captionGets or sets a Caption property of the control. Default value is an empty string.
(Inherited from Forms2OleControl)
childNodesGets collection of immediate child controls.
(Inherited from Forms2OleControl)
enabledReturns true if control is in enabled state.
(Inherited from Forms2OleControl)
foreColorGets or sets a foreground color of the control. The default value depends on a type of the control.
(Inherited from Forms2OleControl)
groupNameGets 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)
isForms2OleControlReturns true if the control is a Forms2OleControl.
(Inherited from OleControl)
nameGets or sets name of the ActiveX control.
(Inherited from OleControl)
selectedGets or sets a boolean value indicating either this OptionButtonControl is selected or not.
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
asCheckBoxControl()
(Inherited from OleControl)
asForms2OleControl()
(Inherited from OleControl)
asOptionButtonControl()
(Inherited from OleControl)
asTextBoxControl()
(Inherited from OleControl)

See Also