home *** CD-ROM | disk | FTP | other *** search
- <Component name="TextBox"
- caption="Text Box"
- type="Simple"
- icon="TextBox.ico"
- xmlns="x-schema:Component.xsd"
- templateType="simple"
- designType="ccid"
- editDialog="Dialogs\Page\ChangeTheme.html"
- editable="True"
- dataBound="True"
- hasDataSource="False">
- <Events>
- <Event name="OnValidate" caption="On Validate" description="Occurs after handling submitted data and before loading templates for page showing."/>
- <Event name="BeforeShow" caption="Before Show" description="Occurs before showing page component or control."/>
- <Event name="OnKeyPress" caption="On Key Press" type="Client"/>
- <Event name="OnLoad" caption="On Load" type="Client"/>
- <Event name="OnChange" caption="On Change" 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="caption"
- caption="Caption"
- description="Name used in error message."
- dataType="Text"
- controlType="TextBox"
- />
- <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="format"
- caption="Format"
- description="Display format of control value."
- controlType="ComboBox"
- dataType="Text"
- listSource="FormatEdit"
- required="False"
- dependsFrom="dataType"
- />
- <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="DefaultValue"
- required="False"
- dependsFrom="dataType"
- />
- <Property
- isVisible="False"
- name="html"
- dataType="Boolean"
- required="True"
- default="False"
- />
- <Property
- isVisible="False"
- name="allowInsert"
- dataType="Boolean"
- />
- <Property
- isVisible="False"
- name="allowUpdate"
- caption="Allow Update"
- description="Specify if the records can be modified with this form."
- controlType="ComboBox"
- listSource="BooleanValues"
- fromListOnly="True"
- dataType="Boolean"
- />
- <Property
- name="required"
- caption="Required"
- description="Specify of the field cannot be empty."
- controlType="ComboBox"
- listSource="BooleanValues"
- fromListOnly="True"
- dataType="Boolean"
- />
- <Property
- name="unique"
- caption="Unique"
- description="Specify if the value is not accepted if already in the database."
- controlType="ComboBox"
- listSource="BooleanValues"
- fromListOnly="True"
- dataType="Boolean"
- />
- <Property
- name="inputMask"
- caption="Input Validation"
- description="Regular expression pattern for validating data entry."
- controlType="ComboBox"
- dataType="Text"
- listSource="InputMasks"
- />
- <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="DBFormat"
- caption="DBFormat"
- description="Control value data format as will be used in SQL statements."
- controlType="ComboBox"
- dataType="Text"
- listSource="DBFormat"
- required="False"
- dependsFrom="dataType"
- />
- <Property
- name="editable"
- dataType="Boolean"
- default="True"
- required="True"
- isVisible="False"
- />
- </Properties>
- <Compatibility list="CompatibleControls"/>
- </Component>