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

  1. <Component
  2.   name="Button" 
  3.  
  4.   caption="Button"
  5.   type="Simple" 
  6.   icon="Button.ico" 
  7.   xmlns="x-schema:Component.xsd" 
  8.   templateType="block" 
  9.   designType="img" 
  10.   beginningImage="Icons\ButtonBeginning.gif" 
  11.   endingImage="Icons\ButtonEnding.gif"
  12.   editDialog="Dialogs\Page\ChangeTheme.html"
  13.   editable="False"
  14.   dataBound="False"
  15.   hasDataSource="False">
  16.   <Events>
  17.     <Event name="OnClick" caption="On Click" description="Occurs when form's button has been clicked, before calling its handler. Record operations occur after this event."/>
  18.     <Event name="BeforeShow" caption="Before Show" description="Occurs before showing page component or control."/>
  19.     <Event name="OnLoad" caption="On Load" type="Client"/>
  20.     <Event name="OnClick" caption="On Click" type="Client"/>
  21.   </Events>
  22.   <Properties>
  23.     <Property
  24.       name="name"
  25.       caption="Name"
  26.       description="Identifier name used in generated code and HTML template."
  27.       controlType="TextBox"
  28.       dataType="Name"
  29.       required="True"
  30.     />
  31.     <Property
  32.       name="operation"
  33.       caption="Operation"
  34.       description="Operation performed when button is clicked."
  35.       controlType="ComboBox"
  36.       dataType="Text"
  37.       listSource="CCActionsList"
  38.     />
  39.     <Property
  40.       name="returnPage"
  41.       caption="Return Page"
  42.       description="Target page to redirect to after execution of server operation."
  43.       controlType="TextBox"
  44.       dataType="Text"
  45.       customDialog="True"
  46.       dialogPath="/Dialogs/Page/SelectPage.html"
  47.       dialogParameters="returnPage"
  48.     />
  49.     <Property
  50.       name="removeParameters"
  51.       caption="Remove Parameters"
  52.       description="Semicolon-separated list of parameters is removed from return page hyperlink."
  53.       controlType="TextBox"
  54.       dataType="Text"
  55.       required="False"
  56.     />
  57.     <Property
  58.       name="urlType"
  59.       caption="Convert URL To"
  60.       description="Specify if the URL should be converted to different format."
  61.       controlType="ComboBox"
  62.       dataType="Text"
  63.       default="Relative"
  64.       listSource="URLType"
  65.       fromListOnly="True"
  66.       required="True"
  67.     />
  68.     <Property
  69.       name="isDefault"
  70.       caption="Default Button"
  71.       description="Pressing the Enter Key is equivalent to clicking this button."
  72.       dataType="Boolean"
  73.       controlType="ComboBox"
  74.       listSource="BooleanValues"
  75.       fromListOnly="True"
  76.       default="False"
  77.       required="False"
  78.     />
  79.     <Property
  80.       name="enableValidation"
  81.       caption="Enable Validation"
  82.       description="Enable Validation when button is clicked."
  83.       dataType="Boolean"
  84.       controlType="ComboBox"
  85.       listSource="BooleanValues"
  86.       fromListOnly="True"
  87.       default="True"
  88.       required="True"
  89.     />
  90.   </Properties>
  91. </Component>