how to set the default value as marked for a checkbox in x++?
For bound controls, set the value on the data source level (dataSourceName.FieldName = true).
For an unbound checkbox, set its property AutoDeclaration to Yes and call ControlName.value(true).