home *** CD-ROM | disk | FTP | other *** search
/ One Click 21 / ONCK021.iso / desenvolvimento / code_charge / CCStudio2_3.exe / Disk1 / data1.cab / App_Data / Components / TextArea.xml < prev    next >
Encoding:
Text File  |  2004-08-10  |  4.8 KB  |  170 lines

  1. <Component name="TextArea"
  2.     caption="Text Area"
  3.     type="Simple"
  4.     icon="TextArea.ico"
  5.     xmlns="x-schema:Component.xsd"
  6.     templateType="simple"
  7.     designType="ccid"
  8.     editDialog="Dialogs\Page\ChangeTheme.html"
  9.   editable="True"
  10.   dataBound="True"
  11.   hasDataSource="False">
  12.   <Events>
  13.     <Event name="OnValidate" caption="On Validate" description="Occurs after handling submitted data and before loading templates for page showing."/>
  14.     <Event name="BeforeShow" caption="Before Show" description="Occurs before showing page component or control."/>
  15.     <Event name="OnKeyPress" caption="On Key Press" type="Client"/>
  16.     <Event name="OnLoad" caption="On Load" type="Client"/>
  17.     <Event name="OnChange" caption="On Change" type="Client"/>
  18.   </Events>
  19.   <Properties>
  20.     <Property
  21.       name="name"
  22.       caption="Name"
  23.       description="Identifier name used in generated code and HTML template."
  24.       controlType="TextBox"
  25.       dataType="Name"
  26.       required="True"
  27.     />
  28.     <Property
  29.       name="caption"
  30.       caption="Caption"
  31.       description="Name used in error message."
  32.       dataType="Text"
  33.       controlType="TextBox"
  34.     />
  35.     <Property
  36.       name="fieldSourceType"
  37.       caption="Control Source Type"
  38.       description="Specify the type of <b>Control Source</b>."
  39.       controlType="ComboBox"
  40.       dataType="Text"
  41.       default="DBColumn"
  42.       listSource="FieldSourceType"
  43.       fromListOnly="True"
  44.             required="True"
  45.     />
  46.     <Property
  47.       name="fieldSource"
  48.       caption="Control Source"
  49.       description="Field name or expression to use as data source of control."
  50.       controlType="ComboBox"
  51.       dataType="Text"
  52.       listSource="CCDataField"
  53.     />
  54.     <Property
  55.       name="dataType"
  56.       caption="Data Type"
  57.       description="Allowable data type of control value."
  58.       controlType="ComboBox"
  59.       dataType="Text"
  60.       listSource="DataTypeList"
  61.             fromListOnly="True"
  62.       required="True"
  63.       default="Text"
  64.     />
  65.     <Property
  66.       name="format"
  67.       caption="Format"
  68.       description="Display format of control value."
  69.       controlType="ComboBox"
  70.       dataType="Text"
  71.       listSource="FormatEdit"
  72.       required="False"
  73.       dependsFrom="dataType"
  74.     />
  75.     <Property
  76.       name="defaultValue"
  77.       caption="Default Value"
  78.       description="Default value assigned to this control for new records. E.g. 1, "Bob", Now()"
  79.       controlType="ComboBox"
  80.       dataType="Text"
  81.       listSource="DefaultValue"
  82.       required="False"
  83.       dependsFrom="dataType"
  84.     />
  85.     <Property
  86.       isVisible="False"
  87.       name="html"
  88.       dataType="Boolean"
  89.       required="True"
  90.       default="False"
  91.     />
  92.     <Property
  93.       isVisible="False"
  94.       name="allowInsert"
  95.       dataType="Boolean"
  96.     />
  97.     <Property
  98.       isVisible="False"
  99.       name="allowUpdate"
  100.       dataType="Boolean"
  101.     />
  102.     <Property
  103.       name="required"
  104.       caption="Required"
  105.       description="Specify if the field cannot be empty."
  106.       controlType="ComboBox"
  107.       listSource="BooleanValues"
  108.             fromListOnly="True"
  109.       dataType="Boolean"
  110.     />
  111.     <Property
  112.       name="unique"
  113.       caption="Unique"
  114.       description="Specify if the value is not accepted if already in the database."
  115.       controlType="ComboBox"
  116.       listSource="BooleanValues"
  117.             fromListOnly="True"
  118.       dataType="Boolean"
  119.     />
  120.     <Property
  121.       name="inputMask"
  122.       caption="Input Validation"
  123.       description="Regular expression pattern for validating data entry."
  124.       controlType="ComboBox"
  125.       dataType="Text"
  126.       listSource="InputMasks"
  127.     />
  128.     <Property
  129.       name="errorControl"
  130.       caption="Error Control"
  131.       description="Name of the control used to display error messages."
  132.       controlType="ComboBox"
  133.       dataType="Text"
  134.       listSource="XPathQuery"
  135.       XPathQuery="../*[name() = 'Label']"
  136.     />
  137.     <Property
  138.       name="validationRule"
  139.       caption="Validation Rule"
  140.       description="Expression to be used to determine data validity."
  141.       controlType="TextBox"
  142.       dataType="Text"
  143.     />
  144.     <Property
  145.       name="validationText"
  146.       caption="Validation Text"
  147.       description="Message displayed when data doesn't satisfy Validation Rule."
  148.       controlType="TextBox"
  149.       dataType="Text"
  150.     />
  151.     <Property
  152.       name="DBFormat"
  153.       caption="DBFormat"
  154.       description="Control value data format as will be used in SQL statements."
  155.       controlType="ComboBox"
  156.       dataType="Text"
  157.       listSource="DBFormat"
  158.       required="False"
  159.       dependsFrom="dataType"
  160.     />
  161.     <Property
  162.       name="editable"
  163.       dataType="Boolean"
  164.       default="True"
  165.       required="True"
  166.       isVisible="False"
  167.     />
  168.   </Properties>
  169.   <Compatibility list="CompatibleControls"/>
  170. </Component>