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

  1. <Component
  2.     name="Label"
  3.     caption="Label"
  4.     type="Simple"
  5.     icon="Label.ico"
  6.     xmlns="x-schema:Component.xsd"
  7.     templateType="simple"
  8.     designType="img"
  9.     beginningImage="Icons/LabelBeginning.gif"
  10.     endingImage="Icons/LabelEnding.gif"
  11.     editable="False"
  12.     editDialog=""
  13.   dataBound="True"
  14.   hasDataSource="False">
  15.   <Events>
  16.     <Event name="BeforeShow" caption="Before Show" description="Occurs before showing page component or control."/>
  17.   </Events>
  18.   <Properties>
  19.     <Property
  20.       name="name"
  21.       caption="Name"
  22.       description="Identifier name used in generated code and HTML template."
  23.       controlType="TextBox"
  24.       dataType="Name"
  25.       required="True"
  26.     />
  27.     <Property
  28.       name="fieldSourceType"
  29.       caption="Control Source Type"
  30.       description="Specify the type of <b>Control Source</b>."
  31.       controlType="ComboBox"
  32.       dataType="Text"
  33.       default="DBColumn"
  34.       listSource="FieldSourceType"
  35.             fromListOnly="True"
  36.             required="True"
  37.     />
  38.     <Property
  39.       name="fieldSource"
  40.       caption="Control Source"
  41.       description="Field name or expression to use as data source for label."
  42.       controlType="ComboBox"
  43.       dataType="Text"
  44.       listSource="CCDataField"
  45.     />
  46.     <Property
  47.       name="dataType"
  48.       caption="Data Type"
  49.           description="Allowable data type of control value."  
  50.       controlType="ComboBox"
  51.       dataType="Text"
  52.       listSource="DataTypeList"
  53.             fromListOnly="True"
  54.       required="True"
  55.       default="Text"
  56.     />
  57.     <Property
  58.       name="format"
  59.       caption="Format"
  60.       description="Display format of control value."
  61.       controlType="ComboBox"
  62.       dataType="Text"
  63.       listSource="Format"
  64.       required="False"
  65.       dependsFrom="dataType"
  66.     />
  67.     <Property
  68.       name="defaultValue"
  69.       caption="Default Value"
  70.       description="Default value assigned to this control for new records. E.g. 1, "Bob", Now()"
  71.       controlType="ComboBox"
  72.       dataType="Text"
  73.       listSource="DefaultValue"
  74.       required="False"
  75.       dependsFrom="dataType"
  76.     />
  77.     <Property
  78.       name="html"
  79.       caption="Content"
  80.       description="HTML - outputs content as-is without conversion to text. Text - converts text content to HTML."
  81.       controlType="ComboBox"
  82.       listSource="HTMLText"
  83.             fromListOnly="True"
  84.       dataType="Boolean"
  85.       required="True"
  86.       default="False"
  87.     />
  88.     <Property
  89.       name="DBFormat"
  90.       caption="DBFormat"
  91.       description="Control value data format as will be used in SQL statements."
  92.       controlType="ComboBox"
  93.       dataType="Text"
  94.       listSource="DBFormat"
  95.       required="False"
  96.       dependsFrom="dataType"
  97.     />
  98.     <Property
  99.       name="editable"
  100.       dataType="Boolean"
  101.       default="False"
  102.       required="True"
  103.       isVisible="False"
  104.     />
  105.   </Properties>
  106.   <Compatibility list="CompatibleControls"/>
  107. </Component>