< Previous | Contents | Next >
Name | Type : Description |
CBC_TriState | boolean : this attribute determines whether the checkbox displays two states or three. |
The following shows four checkboxes on the same row of the control window.
InR = self:AddInput("Red", "Red", { LINKID_DataType = "Number", INPID_InputControl = "CheckboxControl", INP_Integer = true,
INP_Default = 1.0,
ICD_Width = 0.25,
})
InG = self:AddInput("Green", "Green", { LINKID_DataType = "Number", INPID_InputControl = "CheckboxControl", INP_Integer = true,
INP_Default = 1.0,
ICD_Width = 0.25,
})
InB = self:AddInput("Blue", "Blue", { LINKID_DataType = "Number", INPID_InputControl = "CheckboxControl", INP_Integer = true,
INP_Default = 1.0,
ICD_Width = 0.25,
})
InA = self:AddInput("Alpha", "Alpha", { LINKID_DataType = "Number", INPID_InputControl = "CheckboxControl", INP_Integer = true,
INP_Default = 1.0,
ICD_Width = 0.25,
})