sample1.xfdl 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.4">
  3. <TypeDefinition url="..\default_typedef.xml"/>
  4. <Form id="test1" position="absolute 0 0 1211 784" titletext="Composite" style="margin: 0 8 0 8;" onload="test1_onload" ontimer="test1_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Static id="Static21" position="absolute 140 522 1163 734" style="background:#ffffffff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,9,bold antialias;"/>
  8. <Static id="Static18" position="absolute 140 275 1163 523" style="background:#ffffffff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,9,bold antialias;"/>
  9. <Static id="Static16" position="absolute 140 252 1163 276" style="background:#ffffffff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,9,bold antialias;"/>
  10. <Static id="Static15" position="absolute 140 208 1163 253" style="background:#ffffffff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,9,bold antialias;"/>
  11. <Static id="Static14" position="absolute 140 164 1163 209" style="background:#ffffffff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,9,bold antialias;"/>
  12. <Static id="Static13" position="absolute 140 76 1163 121" style="background:#ffffffff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,9,bold antialias;"/>
  13. <Static id="Static01" text="멀티 콤보" position2="absolute l:1 w:140 t:76 h:45" positiontype="position2" style="background:#f2f2f2ff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,11,bold antialias;"/>
  14. <cp_comCodeChk id="cp_comCodeChk00" titletext="ComCodeChk" taborder="1" text="cp_comCodeChk00" anchor="default" position="absolute 142 78 557 98" positiontype="position"/>
  15. <Button id="Button00" taborder="2" text="데이터셋 바인드" position2="absolute l:142 w:106 t:100 h:18" positiontype="position2" onclick="Button00_onclick"/>
  16. <Button id="Button01" taborder="3" text="setData" position2="absolute l:270 w:106 t:100 h:18" positiontype="position2" onclick="Button01_onclick"/>
  17. <Button id="Button02" taborder="4" text="getData()" position2="absolute l:390 w:106 t:100 h:18" positiontype="position2" onclick="Button02_onclick"/>
  18. <Button id="Button03" taborder="5" text="setEnable()" position2="absolute l:510 w:106 t:100 h:18" positiontype="position2" onclick="Button03_onclick"/>
  19. <Button id="Button04" taborder="6" text="setCallEvent()" position2="absolute l:622 w:106 t:100 h:18" positiontype="position2" onclick="Button04_onclick"/>
  20. <cp_monthCal id="cp_monthCal00" titletext="monthCalendar" taborder="7" text="cp_monthCal00" scrollbars="none" anchor="default" position="absolute 142 166 217 186" positiontype="position"/>
  21. <Static id="Static00" text="월 달력" position2="absolute l:1 w:140 t:164 h:45" positiontype="position2" style="background:#f2f2f2ff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,11,bold antialias;"/>
  22. <Button id="Button06" taborder="9" text="setData()" position2="absolute l:142 w:106 t:187 h:18" positiontype="position2" onclick="Button06_onclick"/>
  23. <Button id="Button07" taborder="10" text="getData()" position2="absolute l:262 w:106 t:187 h:18" positiontype="position2" onclick="Button07_onclick"/>
  24. <Button id="Button08" taborder="11" text="setEnable()" position2="absolute l:382 w:106 t:187 h:18" positiontype="position2" onclick="Button08_onclick"/>
  25. <Button id="Button09" taborder="12" text="setCallEvent()" position2="absolute l:494 w:106 t:187 h:18" positiontype="position2" onclick="Button09_onclick"/>
  26. <cp_periodCal id="cp_periodCal00" position2="absolute l:142 w:216 t:210 h:20" positiontype="position2" titletext="Period Calendar" taborder="13" text="cp_periodCal00" scrollbars="none"/>
  27. <Static id="Static02" text="기간 달력" position2="absolute l:1 w:140 t:208 h:45" positiontype="position2" style="background:#f2f2f2ff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,11,bold antialias;"/>
  28. <Button id="Button10" taborder="16" text="setData()" onclick="Button10_onclick" position2="absolute l:142 w:106 t:232 h:18" positiontype="position2"/>
  29. <Button id="Button11" taborder="17" text="getData()" onclick="Button11_onclick" position2="absolute l:262 w:106 t:232 h:18" positiontype="position2"/>
  30. <Button id="Button12" taborder="18" text="setEnable()" onclick="Button12_onclick" position2="absolute l:382 w:106 t:232 h:18" positiontype="position2"/>
  31. <Button id="Button13" taborder="19" text="setCallEvent()" onclick="Button13_onclick" position2="absolute l:494 w:106 t:232 h:18" positiontype="position2"/>
  32. <Button id="Button14" taborder="20" text="setRequestment()" onclick="Button14_onclick" position2="absolute l:607 w:106 t:232 h:18" positiontype="position2"/>
  33. <Button id="Button15" taborder="21" text="setRequestment()" onclick="Button15_onclick" position2="absolute l:607 w:106 t:187 h:18" positiontype="position2"/>
  34. <Button id="Button16" taborder="22" text="setRequestment()" onclick="Button16_onclick" position2="absolute l:735 w:106 t:100 h:18" positiontype="position2"/>
  35. <Static id="Static10" text="년도" position2="absolute l:1 w:140 t:252 h:24" positiontype="position2" style="background:#f2f2f2ff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,11,bold antialias;"/>
  36. <Spin id="Spin00" taborder="25" value="2014" max="9999" min="1900" position="absolute 142 254 202 274"/>
  37. <Static id="Static04" text="Composite" position="absolute 0 0 1210 34" anchor="left top right" style="background:#4fcee5ff;border:1 solid #428cb6ff ;color:black;padding:0 0 0 10;bordertype:round 3 3 ;font:Malgun Gothic,12, antialias;"/>
  38. <Button id="Button05" taborder="27" text="데이터셋 바인드" position2="absolute l:422 w:106 t:354 h:34" positiontype="position2" onclick="Button05_onclick"/>
  39. <Button id="Button17" taborder="28" text="setData()" position2="absolute l:550 w:106 t:354 h:34" positiontype="position2" onclick="Button17_onclick"/>
  40. <Button id="Button18" taborder="29" text="getData()" position2="absolute l:670 w:106 t:354 h:34" positiontype="position2" onclick="Button18_onclick"/>
  41. <Button id="Button19" taborder="30" text="setEnable()" position2="absolute l:790 w:106 t:354 h:34" positiontype="position2" onclick="Button19_onclick"/>
  42. <Button id="Button20" taborder="31" text="setCallEvent()" position2="absolute l:902 w:106 t:354 h:34" positiontype="position2" onclick="Button20_onclick"/>
  43. <Static id="Static09" text="다중 체크박스" position="absolute 1 275 141 523" style="background:#f2f2f2ff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,11,bold antialias;"/>
  44. <Button id="Button21" taborder="33" text="User Property 세팅 &#13;&#10;setInitProperty()" position="absolute 279 354 411 388" onclick="Button21_onclick"/>
  45. <Static id="Static11" text="User Property type" position="absolute 144 393 270 434" style="font:Dotum,12,bold;"/>
  46. <cp_checkboxList id="cp_checkboxList00" titletext="CheckBox List" taborder="34" text="cp_checkboxList00" scrollbars="none" position="absolute 143 279 243 299" style="background:transparent; " col="2" row="2" cellspacing="2" vcellspacing="100" itemWidth="100" itemHeight="20" overflow="hidden" onclick="cp_checkboxList00_onclick"/>
  47. <Button id="Button22" taborder="37" text="User Property 세팅 &#13;&#10;setInitProperty()" position="absolute 288 602 412 636" onclick="Button22_onclick"/>
  48. <Button id="Button23" taborder="38" text="데이터셋 바인드" position2="absolute l:432 w:106 t:602 h:34" positiontype="position2" onclick="Button23_onclick"/>
  49. <Button id="Button24" taborder="39" text="setData()" position2="absolute l:551 w:106 t:602 h:34" positiontype="position2" onclick="Button24_onclick"/>
  50. <Button id="Button25" taborder="40" text="getData()" position2="absolute l:671 w:106 t:602 h:34" positiontype="position2" onclick="Button25_onclick"/>
  51. <Button id="Button26" taborder="41" text="setEnable()" position2="absolute l:791 w:106 t:602 h:34" positiontype="position2" onclick="Button26_onclick"/>
  52. <Button id="Button27" taborder="42" text="setCallEvent()" position2="absolute l:903 w:106 t:602 h:34" positiontype="position2" onclick="Button27_onclick"/>
  53. <cp_radioList id="cp_radioList00" titletext="Radio List" taborder="43" text="cp_radioList00" scrollbars="none" position="absolute 145 524 575 562" col="1" row="1"/>
  54. <Static id="Static12" text="다중 라디오" position="absolute 1 522 141 734" style="background:#f2f2f2ff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,11,bold antialias;"/>
  55. <Static id="Static17" text="col : 아이템 열의 개수 default : 1&#13;&#10;row : 아이템 행의 개수 default : 1&#13;&#10;cellspacing : 아이템 간의 열 간격 default : 0&#13;&#10;vcellspacing : 아이템간 행 간격 default : 0&#13;&#10;itemWidth : 아이템 넓이 default : 100 - &gt; -1을 주면 TEXT 크기에 따라 자동조절&#13;&#10;itemHeight : 아이템 높이 default : 20&#13;&#10;overflow: form의 형태를 설정한다. default : 'visible'&#9;&#13;&#10;&#9;&#9;&#9;&#9;&#9;('visible' : checkbox의 크기만큼 늘여준다. &#13;&#10;'hidden' : form의 크기를 늘이지 않고 그대로 둔다.&#13;&#10;'scroll' : 크기를 그대로 두고 scroll을 생성한다.)" position="absolute 283 386 763 516"/>
  56. <Static id="Static19" text="User Property type" position="absolute 144 649 270 690" style="font:Dotum,12,bold;"/>
  57. <Static id="Static20" text="col : 아이템 열의 개수 default : 1&#13;&#10;row : 아이템 행의 개수 default : 1" position="absolute 275 658 755 692"/>
  58. <Button id="Button28" taborder="44" text="세팅함수&#13;&#10;setInitComp()" position="absolute 143 354 275 388" onclick="Button28_onclick"/>
  59. <Button id="Button29" taborder="45" text="세팅함수&#13;&#10;setInitComp()" position="absolute 143 602 275 636" onclick="Button29_onclick"/>
  60. <Button id="Button30" taborder="46" text="setAddItem" position="absolute 849 100 949 118" onclick="Button30_onclick"/>
  61. <Button id="Button31" taborder="47" text="setRemoveItem" position="absolute 953 142 1053 162" onclick="Button31_onclick"/>
  62. <Button id="Button32" taborder="48" text="setCheckAll()" position="absolute 1014 354 1120 388" onclick="Button32_onclick"/>
  63. <Static id="Static03" position="absolute 140 120 1163 165" style="background:#ffffffff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,9,bold antialias;"/>
  64. <Static id="Static05" text="콤보 &#13;&#10;두행으로 표현" position2="absolute l:1 w:140 t:120 h:45" positiontype="position2" style="background:#f2f2f2ff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,11,bold antialias;"/>
  65. <cp_selCombo id="cp_selCombo00" titletext="두줄가능 콤보" taborder="49" text="cp_selCombo00" scrollbars="none" position="absolute 142 122 326 143" onkeydown="cp_selCombo00_onkeydown"/>
  66. <Button id="Button33" taborder="50" text="데이터셋 바인드" position="absolute 142 144 248 162" onclick="Button33_onclick"/>
  67. <Button id="Button34" taborder="51" text="setData" position="absolute 270 144 370 164" onclick="Button34_onclick"/>
  68. <Button id="Button35" taborder="53" text="getData()" position="absolute 390 144 496 162" onclick="Button35_onclick"/>
  69. <Button id="Button36" taborder="54" text="setEnable()" position="absolute 510 143 616 161" onclick="Button36_onclick"/>
  70. <Button id="Button37" taborder="55" text="setCallEvent()" position="absolute 622 143 728 161" onclick="Button37_onclick"/>
  71. <Button id="Button38" taborder="56" text="setRequestment()" position="absolute 735 143 841 161" onclick="Button38_onclick"/>
  72. <Button id="Button39" taborder="57" text="setAddItem" position="absolute 849 143 949 161" onclick="Button39_onclick"/>
  73. <Button id="Button40" taborder="58" text="setSearch" position="absolute 957 142 1057 162" onclick="Button40_onclick"/>
  74. <Button id="Button41" taborder="59" text="getLableData()" position2="absolute l:670 w:106 t:394 h:34" positiontype="position2" onclick="Button41_onclick"/>
  75. <Button id="Button42" taborder="60" text="getLableData()" position2="absolute l:672 w:106 t:642 h:34" positiontype="position2" onclick="Button42_onclick"/>
  76. </Layout>
  77. </Layouts>
  78. <Objects>
  79. <Dataset id="Dataset00" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  80. <ColumnInfo>
  81. <Column id="Column0" type="STRING" size="256"/>
  82. <Column id="Column1" type="STRING" size="256"/>
  83. </ColumnInfo>
  84. <Rows>
  85. <Row>
  86. <Col id="Column0">a</Col>
  87. <Col id="Column1">22</Col>
  88. </Row>
  89. <Row>
  90. <Col id="Column0">b</Col>
  91. <Col id="Column1">asdffffffffffffffffffffffffffffffffffffffffffff</Col>
  92. </Row>
  93. <Row>
  94. <Col id="Column0">c</Col>
  95. <Col id="Column1">44</Col>
  96. </Row>
  97. <Row>
  98. <Col id="Column0">5</Col>
  99. <Col id="Column1">55</Col>
  100. </Row>
  101. <Row>
  102. <Col id="Column0">6</Col>
  103. <Col id="Column1">56</Col>
  104. </Row>
  105. <Row>
  106. <Col id="Column0">7</Col>
  107. <Col id="Column1">57</Col>
  108. </Row>
  109. <Row>
  110. <Col id="Column0">8</Col>
  111. <Col id="Column1">58</Col>
  112. </Row>
  113. <Row>
  114. <Col id="Column0">9</Col>
  115. <Col id="Column1">59</Col>
  116. </Row>
  117. <Row>
  118. <Col id="Column0">10</Col>
  119. <Col id="Column1">60</Col>
  120. </Row>
  121. <Row>
  122. <Col id="Column0">11</Col>
  123. <Col id="Column1">61</Col>
  124. </Row>
  125. <Row>
  126. <Col id="Column0">12</Col>
  127. <Col id="Column1">62</Col>
  128. </Row>
  129. <Row>
  130. <Col id="Column0">13</Col>
  131. <Col id="Column1">63</Col>
  132. </Row>
  133. <Row>
  134. <Col id="Column0">14</Col>
  135. <Col id="Column1">64</Col>
  136. </Row>
  137. </Rows>
  138. </Dataset>
  139. <Dataset id="Dataset01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  140. <Dataset id="Dataset02" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  141. <ColumnInfo>
  142. <Column id="Column0" type="STRING" size="256"/>
  143. <Column id="Column1" type="STRING" size="256"/>
  144. <Column id="Column2" type="STRING" size="256"/>
  145. <Column id="Column3" type="STRING" size="256"/>
  146. </ColumnInfo>
  147. <Rows>
  148. <Row>
  149. <Col id="Column0">1</Col>
  150. <Col id="Column1">2</Col>
  151. </Row>
  152. <Row>
  153. <Col id="Column0">a</Col>
  154. </Row>
  155. <Row>
  156. <Col id="Column0">b</Col>
  157. </Row>
  158. <Row/>
  159. </Rows>
  160. </Dataset>
  161. <Dataset id="Dataset03" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  162. <ColumnInfo>
  163. <Column id="Column0" type="STRING" size="256"/>
  164. <Column id="Column1" type="STRING" size="256"/>
  165. <Column id="Column2" type="STRING" size="256"/>
  166. <Column id="Column3" type="STRING" size="256"/>
  167. </ColumnInfo>
  168. <Rows>
  169. <Row>
  170. <Col id="Column0">1</Col>
  171. <Col id="Column1">2 </Col>
  172. </Row>
  173. <Row>
  174. <Col id="Column0">a</Col>
  175. <Col id="Column1">ccccccedcgte34322가나다라바카사앋 간다라낟 단아다 </Col>
  176. </Row>
  177. <Row>
  178. <Col id="Column0">b</Col>
  179. <Col id="Column1">123dfd </Col>
  180. </Row>
  181. <Row>
  182. <Col id="Column1">ddse </Col>
  183. </Row>
  184. </Rows>
  185. </Dataset>
  186. <Dataset id="Dataset04" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  187. <ColumnInfo>
  188. <Column id="code" type="STRING" size="256"/>
  189. <Column id="name" type="STRING" size="256"/>
  190. <Column id="Column2" type="STRING" size="256"/>
  191. <Column id="Column3" type="STRING" size="256"/>
  192. <Column id="Column4" type="STRING" size="256"/>
  193. </ColumnInfo>
  194. <Rows>
  195. <Row>
  196. <Col id="code">0</Col>
  197. <Col id="name">aaaasdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffsadffffffffffffffffffffffffsdafasdfasdfasdfasdf</Col>
  198. </Row>
  199. <Row>
  200. <Col id="code">1</Col>
  201. <Col id="name">bbb</Col>
  202. </Row>
  203. <Row>
  204. <Col id="code">2</Col>
  205. <Col id="name">ccc</Col>
  206. </Row>
  207. <Row>
  208. <Col id="code">3</Col>
  209. <Col id="name">ddd</Col>
  210. </Row>
  211. <Row>
  212. <Col id="code">4</Col>
  213. <Col id="name">eee</Col>
  214. </Row>
  215. <Row>
  216. <Col id="code">5</Col>
  217. <Col id="name">fff</Col>
  218. </Row>
  219. <Row>
  220. <Col id="name">aaa</Col>
  221. <Col id="code">6</Col>
  222. </Row>
  223. <Row>
  224. <Col id="name">eeee</Col>
  225. <Col id="code">7</Col>
  226. </Row>
  227. <Row>
  228. <Col id="name">ddddd</Col>
  229. <Col id="code">8</Col>
  230. </Row>
  231. <Row>
  232. <Col id="name">dddddddd</Col>
  233. <Col id="code">9</Col>
  234. </Row>
  235. <Row>
  236. <Col id="name">ddddddddd</Col>
  237. <Col id="code">10</Col>
  238. </Row>
  239. <Row>
  240. <Col id="name">aaaa</Col>
  241. <Col id="code">11</Col>
  242. </Row>
  243. <Row>
  244. <Col id="name">bbbbbbbb</Col>
  245. <Col id="code">12</Col>
  246. </Row>
  247. <Row>
  248. <Col id="name">ttttttttttt</Col>
  249. <Col id="code">13</Col>
  250. </Row>
  251. <Row>
  252. <Col id="name">rrrrrrrrrrrr</Col>
  253. <Col id="code">14</Col>
  254. </Row>
  255. <Row>
  256. <Col id="name">ccccc</Col>
  257. <Col id="code">15</Col>
  258. </Row>
  259. <Row>
  260. <Col id="name">c</Col>
  261. <Col id="code">16</Col>
  262. </Row>
  263. <Row>
  264. <Col id="name">cccccccc</Col>
  265. <Col id="code">17</Col>
  266. </Row>
  267. <Row>
  268. <Col id="name">ccc</Col>
  269. <Col id="code">18</Col>
  270. </Row>
  271. <Row>
  272. <Col id="name">aaaaaaaaaaaaaaaaa</Col>
  273. <Col id="code">19</Col>
  274. </Row>
  275. <Row/>
  276. <Row/>
  277. <Row/>
  278. <Row/>
  279. <Row/>
  280. <Row/>
  281. <Row/>
  282. <Row/>
  283. <Row/>
  284. <Row/>
  285. <Row/>
  286. <Row/>
  287. <Row/>
  288. </Rows>
  289. </Dataset>
  290. <Dataset id="Dataset05" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  291. <ColumnInfo>
  292. <Column id="Column0" type="STRING" size="256"/>
  293. <Column id="Column1" type="STRING" size="256"/>
  294. </ColumnInfo>
  295. <Rows>
  296. <Row>
  297. <Col id="Column0">00</Col>
  298. <Col id="Column1">전체</Col>
  299. </Row>
  300. <Row>
  301. <Col id="Column0">a</Col>
  302. <Col id="Column1">22</Col>
  303. </Row>
  304. <Row>
  305. <Col id="Column0">b</Col>
  306. <Col id="Column1">asdffffffffffffffffffffffffffffffffffffffffffff</Col>
  307. </Row>
  308. <Row>
  309. <Col id="Column0">c</Col>
  310. <Col id="Column1">44</Col>
  311. </Row>
  312. <Row>
  313. <Col id="Column0">5</Col>
  314. <Col id="Column1">55</Col>
  315. </Row>
  316. <Row>
  317. <Col id="Column0">6</Col>
  318. <Col id="Column1">56</Col>
  319. </Row>
  320. <Row>
  321. <Col id="Column0">7</Col>
  322. <Col id="Column1">57</Col>
  323. </Row>
  324. <Row>
  325. <Col id="Column0">8</Col>
  326. <Col id="Column1">58</Col>
  327. </Row>
  328. <Row>
  329. <Col id="Column0">9</Col>
  330. <Col id="Column1">59</Col>
  331. </Row>
  332. <Row>
  333. <Col id="Column0">10</Col>
  334. <Col id="Column1">60</Col>
  335. </Row>
  336. <Row>
  337. <Col id="Column0">11</Col>
  338. <Col id="Column1">61</Col>
  339. </Row>
  340. <Row>
  341. <Col id="Column0">12</Col>
  342. <Col id="Column1">62</Col>
  343. </Row>
  344. <Row>
  345. <Col id="Column0">13</Col>
  346. <Col id="Column1">63</Col>
  347. </Row>
  348. <Row>
  349. <Col id="Column0">14</Col>
  350. <Col id="Column1">64</Col>
  351. </Row>
  352. </Rows>
  353. </Dataset>
  354. <Dataset id="Dataset06" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  355. <ColumnInfo>
  356. <Column id="Column0" type="STRING" size="256"/>
  357. <Column id="Column1" type="STRING" size="256"/>
  358. </ColumnInfo>
  359. <Rows>
  360. <Row>
  361. <Col id="Column0">7</Col>
  362. <Col id="Column1">57</Col>
  363. </Row>
  364. <Row>
  365. <Col id="Column0">8</Col>
  366. <Col id="Column1">58</Col>
  367. </Row>
  368. <Row>
  369. <Col id="Column0">9</Col>
  370. <Col id="Column1">59</Col>
  371. </Row>
  372. <Row>
  373. <Col id="Column0">10</Col>
  374. <Col id="Column1">60</Col>
  375. </Row>
  376. <Row>
  377. <Col id="Column0">11</Col>
  378. <Col id="Column1">61</Col>
  379. </Row>
  380. </Rows>
  381. </Dataset>
  382. </Objects>
  383. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
  384. include "com_commonxp::comm_grd.xjs"
  385. function test1_onload(obj:Form, e:LoadEventInfo)
  386. {
  387. }
  388. //========================================================================
  389. //멀티 콤보
  390. //------------------------------------------------------------------------
  391. //데이터셋 바인드
  392. function Button00_onclick(obj:Button, e:ClickEventInfo)
  393. {
  394. cp_comCodeChk00.setBindDataset(Dataset00,"Column0","Column1");
  395. }
  396. //setdata
  397. function Button01_onclick(obj:Button, e:ClickEventInfo)
  398. {
  399. var val = "";
  400. cp_comCodeChk00.setData(val);
  401. }
  402. //getdata
  403. function Button02_onclick(obj:Button, e:ClickEventInfo)
  404. {
  405. var rtn = cp_comCodeChk00.getData();
  406. alert("code = "+rtn[0]+" data="+rtn[1]);
  407. }
  408. //setEnable
  409. function Button03_onclick(obj:Button, e:ClickEventInfo)
  410. {
  411. cp_comCodeChk00.setEnbale(false);
  412. }
  413. //setCallEvent
  414. function Button04_onclick(obj:Button, e:ClickEventInfo)
  415. {
  416. cp_comCodeChk00.setCallEvent("fn_cmpEventChk");
  417. }
  418. function fn_cmpEventChk(obj)
  419. {
  420. trace(eval(obj).name);
  421. }
  422. function Button16_onclick(obj:Button, e:ClickEventInfo)
  423. {
  424. cp_comCodeChk00.setRequestment(true);
  425. }
  426. //아이템 추가;
  427. function Button30_onclick(obj:Button, e:ClickEventInfo)
  428. {
  429. cp_comCodeChk00.setAddItem("", "전체", "top", true);
  430. }
  431. //아이템삭wp
  432. function Button31_onclick(obj:Button, e:ClickEventInfo)
  433. {
  434. cp_comCodeChk00.setRemoveItem("",false);
  435. }
  436. //========================================================================
  437. //월달력
  438. //------------------------------------------------------------------------
  439. //setData
  440. function Button06_onclick(obj:Button, e:ClickEventInfo)
  441. {
  442. var sdate = "201412";
  443. cp_monthCal00.setData("");
  444. }
  445. //getData
  446. function Button07_onclick(obj:Button, e:ClickEventInfo)
  447. {
  448. alert(cp_monthCal00.getData());
  449. }
  450. function Button08_onclick(obj:Button, e:ClickEventInfo)
  451. {
  452. cp_monthCal00.setEnbale();
  453. }
  454. function Button09_onclick(obj:Button, e:ClickEventInfo)
  455. {
  456. cp_monthCal00.setCallEvent("fn_Cal");
  457. }
  458. function fn_Cal(r)
  459. {
  460. alert("fn_Cal()::"+eval(r).getData());
  461. }
  462. function Button15_onclick(obj:Button, e:ClickEventInfo)
  463. {
  464. cp_monthCal00.setRequestment(true);
  465. }
  466. //========================================================================
  467. //기간달력
  468. //------------------------------------------------------------------------
  469. function Button10_onclick(obj:Button, e:ClickEventInfo)
  470. {
  471. var aData = new Array();
  472. aData[0] = "20140201";
  473. aData[1] = "20140228";
  474. cp_periodCal00.setData(aData);
  475. }
  476. function Button11_onclick(obj:Button, e:ClickEventInfo)
  477. {
  478. alert(cp_periodCal00.getData());
  479. }
  480. function Button12_onclick(obj:Button, e:ClickEventInfo)
  481. {
  482. cp_periodCal00.setEnbale();
  483. }
  484. function Button13_onclick(obj:Button, e:ClickEventInfo)
  485. {
  486. cp_periodCal00.setCallEvent("fn_Cal");
  487. }
  488. //필수값으로 class 변경
  489. function Button14_onclick(obj:Button, e:ClickEventInfo)
  490. {
  491. cp_periodCal00.setRequestment(true);
  492. }
  493. //========================================================================
  494. //checkboxList
  495. //------------------------------------------------------------------------
  496. //세팅함수(setInitProperty, setBindDataset, setCallEvent)함수를 한번에 실행한다.
  497. function Button28_onclick(obj:Button, e:ClickEventInfo)
  498. {
  499. /*
  500. * Argument : String sProp - user properties(setInitProperty)
  501. * Object objDs - dataset object(setBindDataset)
  502. * String sColVal - value column(setBindDataset)
  503. * String sColTxt - text column(setBindDataset)
  504. * String sEvent - event function(setCallEvent)
  505. */
  506. var sProp="col=5,row=3,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
  507. cp_checkboxList00.setInitComp(sProp, Dataset05,"Column0","Column1","fn_cmpEvent");
  508. }
  509. //바인드 데이터셋
  510. function Button05_onclick(obj:Button, e:ClickEventInfo)
  511. {
  512. cp_checkboxList00.setBindDataset(Dataset05,"Column0","Column1");
  513. }
  514. //setdata
  515. function Button17_onclick(obj:Button, e:ClickEventInfo)
  516. {
  517. var aData = new Array();
  518. aData[0] = "a";
  519. aData[1] = "b";
  520. aData[2] = "c";
  521. var aFalseData = new Array();
  522. aFalseData[0] = "5";
  523. aFalseData[1] = "7";
  524. cp_checkboxList00.setData(aData, aFalseData,false);
  525. }
  526. //getData
  527. function Button18_onclick(obj:Button, e:ClickEventInfo)
  528. {
  529. var rtn = cp_checkboxList00.getData();
  530. alert("rtn="+rtn);
  531. }
  532. //setEnable
  533. function Button19_onclick(obj:Button, e:ClickEventInfo)
  534. {
  535. //cp_checkboxList00.setEnbale(false);
  536. var fRow = Dataset05.findRow("Column0","b");
  537. objChk = eval("cp_checkboxList00.chk_"+fRow);
  538. objChk.enable = false;
  539. }
  540. //setCallEvent
  541. function Button20_onclick(obj:Button, e:ClickEventInfo)
  542. {
  543. cp_checkboxList00.setCallEvent("fn_cmpEvent");
  544. }
  545. function fn_cmpEvent(aa)
  546. {
  547. // //전체체크, 전체해제 함수구현
  548. if(eval(aa).text == "전체"){ //전체컬럼의 datacolumn값
  549. if(eval(aa).value == "00"){ //전체컬럼의 codecolumn값
  550. cp_checkboxList00.setCheckAll(true);
  551. }else{
  552. cp_checkboxList00.setCheckAll(false);
  553. }
  554. }
  555. }
  556. function Button21_onclick(obj:Button, e:ClickEventInfo)
  557. {
  558. /*
  559. col : 아이템 열의 개수 default : 1
  560. row : 아이템 행의 개수 default : 1
  561. cellspacing : 아이템 간의 열 간격 default : 0
  562. vcellspacing : 아이템간 행 간격 default : 0
  563. itemWidth : 아이템 넓이 default : 100
  564. itemHeight : 아이템 높이 default : 20
  565. overflow: form의 형태를 설정한다. default : 'visible'
  566. ("visible" : checkbox의 크기만큼 늘여준다.
  567. "hidden" : form의 크기를 늘이지 않고 그대로 둔다.
  568. "scroll" : 크기를 그대로 두고 scroll을 생성한다.)
  569. */
  570. // ","를 기준으로 하나의 property이고 생략 가능하다.
  571. cp_checkboxList00.setInitProperty("col=2,row=2,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'");
  572. }
  573. //========================================================================
  574. //multi radio
  575. //------------------------------------------------------------------------
  576. //세팅함수(setInitProperty, setBindDataset, setCallEvent)함수를 한번에 실행한다.
  577. function Button29_onclick(obj:Button, e:ClickEventInfo)
  578. {
  579. /*
  580. * Argument : String sProp - uset properties(setInitProperty)
  581. * Object objDs - dataset object(setBindDataset)
  582. * String sColVal - value column(setBindDataset)
  583. * String sColTxt - text column(setBindDataset)
  584. * String sEvent - event function(setCallEvent)
  585. */
  586. cp_radioList00.setInitComp("col=1,row=1", Dataset00,"Column0","Column1","fn_rdoEvent");
  587. //cp_radioList01.setInitComp("col=2,row=2", Dataset06,"Column0","Column1","");
  588. }
  589. //바인드 데이터셋
  590. function Button23_onclick(obj:Button, e:ClickEventInfo)
  591. {
  592. cp_radioList00.setBindDataset(Dataset00,"Column0","Column1");
  593. }
  594. //setdata
  595. function Button24_onclick(obj:Button, e:ClickEventInfo)
  596. {
  597. var sData = "2";
  598. cp_radioList00.setData(sData);
  599. }
  600. //getData
  601. function Button25_onclick(obj:Button, e:ClickEventInfo)
  602. {
  603. var rtn = cp_radioList00.getData();
  604. alert("rtn="+rtn);
  605. }
  606. //setEnable
  607. function Button26_onclick(obj:Button, e:ClickEventInfo)
  608. {
  609. cp_radioList00.setEnbale(false);
  610. }
  611. //setCallEvent
  612. function Button27_onclick(obj:Button, e:ClickEventInfo)
  613. {
  614. cp_radioList00.setCallEvent("fn_rdoEvent");
  615. }
  616. function Button22_onclick(obj:Button, e:ClickEventInfo)
  617. {
  618. /*
  619. col : 아이템 열의 개수 default : 1
  620. row : 아이템 행의 개수 default : 1
  621. */
  622. // ","를 기준으로 하나의 property이고 생략 가능하다.
  623. cp_radioList00.setInitProperty("col=2,row=2");
  624. }
  625. function fn_rdoEvent(sname)
  626. {
  627. alert("fn_rdoEvent("+sname+")");
  628. }
  629. function cp_checkboxList00_onclick(obj:cp_checkboxList, e:ClickEventInfo)
  630. {
  631. }
  632. function Button32_onclick(obj:Button, e:ClickEventInfo)
  633. {
  634. cp_checkboxList00.setCheckAll(true);
  635. }
  636. function Button33_onclick(obj:Button, e:ClickEventInfo)
  637. {
  638. cp_selCombo00.setDataSet(Dataset04,"code","name");
  639. }
  640. function Button34_onclick(obj:Button, e:ClickEventInfo)
  641. {
  642. cp_selCombo00.setData("2");
  643. }
  644. function Button35_onclick(obj:Button, e:ClickEventInfo)
  645. {
  646. var rtn = cp_selCombo00.getData();
  647. alert("rtn="+rtn);
  648. }
  649. function Button36_onclick(obj:Button, e:ClickEventInfo)
  650. {
  651. cp_selCombo00.setEnable(false);
  652. }
  653. function Button38_onclick(obj:Button, e:ClickEventInfo)
  654. {
  655. cp_selCombo00.setRequestment(true);
  656. }
  657. function Button37_onclick(obj:Button, e:ClickEventInfo)
  658. {
  659. cp_selCombo00.setCallEvent("lf_selCompCloseup");
  660. }
  661. function lf_selCompCloseup(e){
  662. trace(e.postvalue);
  663. trace(e.prevalue);
  664. trace(e.posttext);
  665. trace(e.pretext);
  666. }
  667. function Button39_onclick(obj:Button, e:ClickEventInfo)
  668. {
  669. cp_selCombo00.setAddItem("", "전체", "top", true);
  670. }
  671. function Button40_onclick(obj:Button, e:ClickEventInfo)
  672. {
  673. cp_selCombo00.setSearch(true);
  674. }
  675. function Button41_onclick(obj:Button, e:ClickEventInfo)
  676. {
  677. var rtn = cp_checkboxList00.getLableData();
  678. alert("rtn="+rtn);
  679. }
  680. function Button42_onclick(obj:Button, e:ClickEventInfo)
  681. {
  682. var rtn = cp_radioList00.getLableData();
  683. alert("rtn="+rtn);
  684. }
  685. ]]></Script>
  686. </Form>
  687. </FDL>