home *** CD-ROM | disk | FTP | other *** search
- <Component
- name="CheckBox"
- caption="Check Box"
- type="Simple"
- icon="Checkbox.ico"
- xmlns="x-schema:Component.xsd"
- templateType="simple"
- designType="ccid"
- editDialog="Dialogs\Page\ChangeTheme.html"
- editable="True"
- dataBound="True"
- hasDataSource="False">
- <Events>
- <Event name="BeforeShow" caption="Before Show" description="Occurs before showing page component or control."/>
- <Event name="OnLoad" caption="On Load" type="Client"/>
- </Events>
- <Properties>
- <Property
- name="name"
- caption="Name"
- description="Identifier name used in generated code and HTML template."
- controlType="TextBox"
- dataType="Name"
- required="True"
- />
- <Property
- name="fieldSourceType"
- caption="Control Source Type"
- description="Specify the type of <b>Control Source</b>."
- controlType="ComboBox"
- dataType="Text"
- default="DBColumn"
- listSource="FieldSourceType"
- fromListOnly="True"
- required="True"
- />
- <Property
- name="fieldSource"
- caption="Control Source"
- description="Field name or expression to use as data source of control."
- controlType="ComboBox"
- dataType="Text"
- listSource="CCDataField"
- />
- <Property
- name="dataType"
- caption="Data Type"
- description="Allowable data type of control value."
- controlType="ComboBox"
- dataType="Text"
- listSource="DataTypeList"
- fromListOnly="True"
- required="True"
- default="Text"
- />
- <Property
- name="checkedValue"
- caption="Checked Value"
- description="The value when checkbox is checked."
- controlType="TextBox"
- dataType="Text"
- />
- <Property
- name="uncheckedValue"
- caption="Unchecked Value"
- description="The value when checkbox is unchecked."
- controlType="TextBox"
- dataType="Text"
- required="False"
- />
- <Property
- name="defaultValue"
- caption="Default Value"
- description="Default value assigned to this control for new records. E.g. 1, "Bob", Now()"
- controlType="ComboBox"
- dataType="Text"
- listSource="CheckBoxDefaultValue"
- />
- <Property
- isVisible="False"
- name="allowInsert"
- dataType="Boolean"
- />
- <Property
- isVisible="False"
- name="allowUpdate"
- dataType="Boolean"
- />
- <Property
- name="errorControl"
- caption="Error Control"
- description="Name of the control used to display error messages."
- controlType="ComboBox"
- dataType="Text"
- listSource="XPathQuery"
- XPathQuery="../*[name() = 'Label']"
- />
- <Property
- name="validationRule"
- caption="Validation Rule"
- description="Expression to be used to determine data validity."
- controlType="TextBox"
- dataType="Text"
- />
- <Property
- name="validationText"
- caption="Validation Text"
- description="Message displayed when data doesn't satisfy Validation Rule."
- controlType="TextBox"
- dataType="Text"
- />
- <Property
- name="editable"
- dataType="Boolean"
- default="True"
- required="True"
- isVisible="False"
- />
- </Properties>
- <Lists>
- <List name="CheckBoxDefaultValue">
- <Item name="Checked" value="Checked"/>
- <Item name="Unchecked" value="Unchecked"/>
- </List>
- </Lists>
- <Compatibility list="CompatibleControls"/>
- </Component>