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

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