123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.4">
- <TypeDefinition url="..\default_typedef.xml"/>
- <Form id="test1" position="absolute 0 0 1211 784" titletext="Composite" style="margin: 0 8 0 8;" onload="test1_onload" ontimer="test1_ontimer">
- <Layouts>
- <Layout>
- <Static id="Static21" position="absolute 140 522 1163 734" style="background:#ffffffff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,9,bold antialias;"/>
- <Static id="Static18" position="absolute 140 275 1163 523" style="background:#ffffffff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,9,bold antialias;"/>
- <Static id="Static16" position="absolute 140 252 1163 276" style="background:#ffffffff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,9,bold antialias;"/>
- <Static id="Static15" position="absolute 140 208 1163 253" style="background:#ffffffff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,9,bold antialias;"/>
- <Static id="Static14" position="absolute 140 164 1163 209" style="background:#ffffffff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,9,bold antialias;"/>
- <Static id="Static13" position="absolute 140 76 1163 121" style="background:#ffffffff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,9,bold antialias;"/>
- <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;"/>
- <cp_comCodeChk id="cp_comCodeChk00" titletext="ComCodeChk" taborder="1" text="cp_comCodeChk00" anchor="default" position="absolute 142 78 557 98" positiontype="position"/>
- <Button id="Button00" taborder="2" text="데이터셋 바인드" position2="absolute l:142 w:106 t:100 h:18" positiontype="position2" onclick="Button00_onclick"/>
- <Button id="Button01" taborder="3" text="setData" position2="absolute l:270 w:106 t:100 h:18" positiontype="position2" onclick="Button01_onclick"/>
- <Button id="Button02" taborder="4" text="getData()" position2="absolute l:390 w:106 t:100 h:18" positiontype="position2" onclick="Button02_onclick"/>
- <Button id="Button03" taborder="5" text="setEnable()" position2="absolute l:510 w:106 t:100 h:18" positiontype="position2" onclick="Button03_onclick"/>
- <Button id="Button04" taborder="6" text="setCallEvent()" position2="absolute l:622 w:106 t:100 h:18" positiontype="position2" onclick="Button04_onclick"/>
- <cp_monthCal id="cp_monthCal00" titletext="monthCalendar" taborder="7" text="cp_monthCal00" scrollbars="none" anchor="default" position="absolute 142 166 217 186" positiontype="position"/>
- <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;"/>
- <Button id="Button06" taborder="9" text="setData()" position2="absolute l:142 w:106 t:187 h:18" positiontype="position2" onclick="Button06_onclick"/>
- <Button id="Button07" taborder="10" text="getData()" position2="absolute l:262 w:106 t:187 h:18" positiontype="position2" onclick="Button07_onclick"/>
- <Button id="Button08" taborder="11" text="setEnable()" position2="absolute l:382 w:106 t:187 h:18" positiontype="position2" onclick="Button08_onclick"/>
- <Button id="Button09" taborder="12" text="setCallEvent()" position2="absolute l:494 w:106 t:187 h:18" positiontype="position2" onclick="Button09_onclick"/>
- <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"/>
- <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;"/>
- <Button id="Button10" taborder="16" text="setData()" onclick="Button10_onclick" position2="absolute l:142 w:106 t:232 h:18" positiontype="position2"/>
- <Button id="Button11" taborder="17" text="getData()" onclick="Button11_onclick" position2="absolute l:262 w:106 t:232 h:18" positiontype="position2"/>
- <Button id="Button12" taborder="18" text="setEnable()" onclick="Button12_onclick" position2="absolute l:382 w:106 t:232 h:18" positiontype="position2"/>
- <Button id="Button13" taborder="19" text="setCallEvent()" onclick="Button13_onclick" position2="absolute l:494 w:106 t:232 h:18" positiontype="position2"/>
- <Button id="Button14" taborder="20" text="setRequestment()" onclick="Button14_onclick" position2="absolute l:607 w:106 t:232 h:18" positiontype="position2"/>
- <Button id="Button15" taborder="21" text="setRequestment()" onclick="Button15_onclick" position2="absolute l:607 w:106 t:187 h:18" positiontype="position2"/>
- <Button id="Button16" taborder="22" text="setRequestment()" onclick="Button16_onclick" position2="absolute l:735 w:106 t:100 h:18" positiontype="position2"/>
- <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;"/>
- <Spin id="Spin00" taborder="25" value="2014" max="9999" min="1900" position="absolute 142 254 202 274"/>
- <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;"/>
- <Button id="Button05" taborder="27" text="데이터셋 바인드" position2="absolute l:422 w:106 t:354 h:34" positiontype="position2" onclick="Button05_onclick"/>
- <Button id="Button17" taborder="28" text="setData()" position2="absolute l:550 w:106 t:354 h:34" positiontype="position2" onclick="Button17_onclick"/>
- <Button id="Button18" taborder="29" text="getData()" position2="absolute l:670 w:106 t:354 h:34" positiontype="position2" onclick="Button18_onclick"/>
- <Button id="Button19" taborder="30" text="setEnable()" position2="absolute l:790 w:106 t:354 h:34" positiontype="position2" onclick="Button19_onclick"/>
- <Button id="Button20" taborder="31" text="setCallEvent()" position2="absolute l:902 w:106 t:354 h:34" positiontype="position2" onclick="Button20_onclick"/>
- <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;"/>
- <Button id="Button21" taborder="33" text="User Property 세팅 setInitProperty()" position="absolute 279 354 411 388" onclick="Button21_onclick"/>
- <Static id="Static11" text="User Property type" position="absolute 144 393 270 434" style="font:Dotum,12,bold;"/>
- <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"/>
- <Button id="Button22" taborder="37" text="User Property 세팅 setInitProperty()" position="absolute 288 602 412 636" onclick="Button22_onclick"/>
- <Button id="Button23" taborder="38" text="데이터셋 바인드" position2="absolute l:432 w:106 t:602 h:34" positiontype="position2" onclick="Button23_onclick"/>
- <Button id="Button24" taborder="39" text="setData()" position2="absolute l:551 w:106 t:602 h:34" positiontype="position2" onclick="Button24_onclick"/>
- <Button id="Button25" taborder="40" text="getData()" position2="absolute l:671 w:106 t:602 h:34" positiontype="position2" onclick="Button25_onclick"/>
- <Button id="Button26" taborder="41" text="setEnable()" position2="absolute l:791 w:106 t:602 h:34" positiontype="position2" onclick="Button26_onclick"/>
- <Button id="Button27" taborder="42" text="setCallEvent()" position2="absolute l:903 w:106 t:602 h:34" positiontype="position2" onclick="Button27_onclick"/>
- <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"/>
- <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;"/>
- <Static id="Static17" text="col : 아이템 열의 개수 default : 1 row : 아이템 행의 개수 default : 1 cellspacing : 아이템 간의 열 간격 default : 0 vcellspacing : 아이템간 행 간격 default : 0 itemWidth : 아이템 넓이 default : 100 - > -1을 주면 TEXT 크기에 따라 자동조절 itemHeight : 아이템 높이 default : 20 overflow: form의 형태를 설정한다. default : 'visible'	 					('visible' : checkbox의 크기만큼 늘여준다. 'hidden' : form의 크기를 늘이지 않고 그대로 둔다. 'scroll' : 크기를 그대로 두고 scroll을 생성한다.)" position="absolute 283 386 763 516"/>
- <Static id="Static19" text="User Property type" position="absolute 144 649 270 690" style="font:Dotum,12,bold;"/>
- <Static id="Static20" text="col : 아이템 열의 개수 default : 1 row : 아이템 행의 개수 default : 1" position="absolute 275 658 755 692"/>
- <Button id="Button28" taborder="44" text="세팅함수 setInitComp()" position="absolute 143 354 275 388" onclick="Button28_onclick"/>
- <Button id="Button29" taborder="45" text="세팅함수 setInitComp()" position="absolute 143 602 275 636" onclick="Button29_onclick"/>
- <Button id="Button30" taborder="46" text="setAddItem" position="absolute 849 100 949 118" onclick="Button30_onclick"/>
- <Button id="Button31" taborder="47" text="setRemoveItem" position="absolute 953 142 1053 162" onclick="Button31_onclick"/>
- <Button id="Button32" taborder="48" text="setCheckAll()" position="absolute 1014 354 1120 388" onclick="Button32_onclick"/>
- <Static id="Static03" position="absolute 140 120 1163 165" style="background:#ffffffff;border:1 solid #c6c6c5ff ;align:center middle;font:Tahoma,9,bold antialias;"/>
- <Static id="Static05" text="콤보 두행으로 표현" 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;"/>
- <cp_selCombo id="cp_selCombo00" titletext="두줄가능 콤보" taborder="49" text="cp_selCombo00" scrollbars="none" position="absolute 142 122 326 143" onkeydown="cp_selCombo00_onkeydown"/>
- <Button id="Button33" taborder="50" text="데이터셋 바인드" position="absolute 142 144 248 162" onclick="Button33_onclick"/>
- <Button id="Button34" taborder="51" text="setData" position="absolute 270 144 370 164" onclick="Button34_onclick"/>
- <Button id="Button35" taborder="53" text="getData()" position="absolute 390 144 496 162" onclick="Button35_onclick"/>
- <Button id="Button36" taborder="54" text="setEnable()" position="absolute 510 143 616 161" onclick="Button36_onclick"/>
- <Button id="Button37" taborder="55" text="setCallEvent()" position="absolute 622 143 728 161" onclick="Button37_onclick"/>
- <Button id="Button38" taborder="56" text="setRequestment()" position="absolute 735 143 841 161" onclick="Button38_onclick"/>
- <Button id="Button39" taborder="57" text="setAddItem" position="absolute 849 143 949 161" onclick="Button39_onclick"/>
- <Button id="Button40" taborder="58" text="setSearch" position="absolute 957 142 1057 162" onclick="Button40_onclick"/>
- <Button id="Button41" taborder="59" text="getLableData()" position2="absolute l:670 w:106 t:394 h:34" positiontype="position2" onclick="Button41_onclick"/>
- <Button id="Button42" taborder="60" text="getLableData()" position2="absolute l:672 w:106 t:642 h:34" positiontype="position2" onclick="Button42_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="Dataset00" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="Column0" type="STRING" size="256"/>
- <Column id="Column1" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="Column0">a</Col>
- <Col id="Column1">22</Col>
- </Row>
- <Row>
- <Col id="Column0">b</Col>
- <Col id="Column1">asdffffffffffffffffffffffffffffffffffffffffffff</Col>
- </Row>
- <Row>
- <Col id="Column0">c</Col>
- <Col id="Column1">44</Col>
- </Row>
- <Row>
- <Col id="Column0">5</Col>
- <Col id="Column1">55</Col>
- </Row>
- <Row>
- <Col id="Column0">6</Col>
- <Col id="Column1">56</Col>
- </Row>
- <Row>
- <Col id="Column0">7</Col>
- <Col id="Column1">57</Col>
- </Row>
- <Row>
- <Col id="Column0">8</Col>
- <Col id="Column1">58</Col>
- </Row>
- <Row>
- <Col id="Column0">9</Col>
- <Col id="Column1">59</Col>
- </Row>
- <Row>
- <Col id="Column0">10</Col>
- <Col id="Column1">60</Col>
- </Row>
- <Row>
- <Col id="Column0">11</Col>
- <Col id="Column1">61</Col>
- </Row>
- <Row>
- <Col id="Column0">12</Col>
- <Col id="Column1">62</Col>
- </Row>
- <Row>
- <Col id="Column0">13</Col>
- <Col id="Column1">63</Col>
- </Row>
- <Row>
- <Col id="Column0">14</Col>
- <Col id="Column1">64</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="Dataset01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="Dataset02" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="Column0" type="STRING" size="256"/>
- <Column id="Column1" type="STRING" size="256"/>
- <Column id="Column2" type="STRING" size="256"/>
- <Column id="Column3" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="Column0">1</Col>
- <Col id="Column1">2</Col>
- </Row>
- <Row>
- <Col id="Column0">a</Col>
- </Row>
- <Row>
- <Col id="Column0">b</Col>
- </Row>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="Dataset03" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="Column0" type="STRING" size="256"/>
- <Column id="Column1" type="STRING" size="256"/>
- <Column id="Column2" type="STRING" size="256"/>
- <Column id="Column3" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="Column0">1</Col>
- <Col id="Column1">2 </Col>
- </Row>
- <Row>
- <Col id="Column0">a</Col>
- <Col id="Column1">ccccccedcgte34322가나다라바카사앋 간다라낟 단아다 </Col>
- </Row>
- <Row>
- <Col id="Column0">b</Col>
- <Col id="Column1">123dfd </Col>
- </Row>
- <Row>
- <Col id="Column1">ddse </Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="Dataset04" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING" size="256"/>
- <Column id="name" type="STRING" size="256"/>
- <Column id="Column2" type="STRING" size="256"/>
- <Column id="Column3" type="STRING" size="256"/>
- <Column id="Column4" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="code">0</Col>
- <Col id="name">aaaasdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffsadffffffffffffffffffffffffsdafasdfasdfasdfasdf</Col>
- </Row>
- <Row>
- <Col id="code">1</Col>
- <Col id="name">bbb</Col>
- </Row>
- <Row>
- <Col id="code">2</Col>
- <Col id="name">ccc</Col>
- </Row>
- <Row>
- <Col id="code">3</Col>
- <Col id="name">ddd</Col>
- </Row>
- <Row>
- <Col id="code">4</Col>
- <Col id="name">eee</Col>
- </Row>
- <Row>
- <Col id="code">5</Col>
- <Col id="name">fff</Col>
- </Row>
- <Row>
- <Col id="name">aaa</Col>
- <Col id="code">6</Col>
- </Row>
- <Row>
- <Col id="name">eeee</Col>
- <Col id="code">7</Col>
- </Row>
- <Row>
- <Col id="name">ddddd</Col>
- <Col id="code">8</Col>
- </Row>
- <Row>
- <Col id="name">dddddddd</Col>
- <Col id="code">9</Col>
- </Row>
- <Row>
- <Col id="name">ddddddddd</Col>
- <Col id="code">10</Col>
- </Row>
- <Row>
- <Col id="name">aaaa</Col>
- <Col id="code">11</Col>
- </Row>
- <Row>
- <Col id="name">bbbbbbbb</Col>
- <Col id="code">12</Col>
- </Row>
- <Row>
- <Col id="name">ttttttttttt</Col>
- <Col id="code">13</Col>
- </Row>
- <Row>
- <Col id="name">rrrrrrrrrrrr</Col>
- <Col id="code">14</Col>
- </Row>
- <Row>
- <Col id="name">ccccc</Col>
- <Col id="code">15</Col>
- </Row>
- <Row>
- <Col id="name">c</Col>
- <Col id="code">16</Col>
- </Row>
- <Row>
- <Col id="name">cccccccc</Col>
- <Col id="code">17</Col>
- </Row>
- <Row>
- <Col id="name">ccc</Col>
- <Col id="code">18</Col>
- </Row>
- <Row>
- <Col id="name">aaaaaaaaaaaaaaaaa</Col>
- <Col id="code">19</Col>
- </Row>
- <Row/>
- <Row/>
- <Row/>
- <Row/>
- <Row/>
- <Row/>
- <Row/>
- <Row/>
- <Row/>
- <Row/>
- <Row/>
- <Row/>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="Dataset05" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="Column0" type="STRING" size="256"/>
- <Column id="Column1" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="Column0">00</Col>
- <Col id="Column1">전체</Col>
- </Row>
- <Row>
- <Col id="Column0">a</Col>
- <Col id="Column1">22</Col>
- </Row>
- <Row>
- <Col id="Column0">b</Col>
- <Col id="Column1">asdffffffffffffffffffffffffffffffffffffffffffff</Col>
- </Row>
- <Row>
- <Col id="Column0">c</Col>
- <Col id="Column1">44</Col>
- </Row>
- <Row>
- <Col id="Column0">5</Col>
- <Col id="Column1">55</Col>
- </Row>
- <Row>
- <Col id="Column0">6</Col>
- <Col id="Column1">56</Col>
- </Row>
- <Row>
- <Col id="Column0">7</Col>
- <Col id="Column1">57</Col>
- </Row>
- <Row>
- <Col id="Column0">8</Col>
- <Col id="Column1">58</Col>
- </Row>
- <Row>
- <Col id="Column0">9</Col>
- <Col id="Column1">59</Col>
- </Row>
- <Row>
- <Col id="Column0">10</Col>
- <Col id="Column1">60</Col>
- </Row>
- <Row>
- <Col id="Column0">11</Col>
- <Col id="Column1">61</Col>
- </Row>
- <Row>
- <Col id="Column0">12</Col>
- <Col id="Column1">62</Col>
- </Row>
- <Row>
- <Col id="Column0">13</Col>
- <Col id="Column1">63</Col>
- </Row>
- <Row>
- <Col id="Column0">14</Col>
- <Col id="Column1">64</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="Dataset06" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="Column0" type="STRING" size="256"/>
- <Column id="Column1" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="Column0">7</Col>
- <Col id="Column1">57</Col>
- </Row>
- <Row>
- <Col id="Column0">8</Col>
- <Col id="Column1">58</Col>
- </Row>
- <Row>
- <Col id="Column0">9</Col>
- <Col id="Column1">59</Col>
- </Row>
- <Row>
- <Col id="Column0">10</Col>
- <Col id="Column1">60</Col>
- </Row>
- <Row>
- <Col id="Column0">11</Col>
- <Col id="Column1">61</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- include "com_commonxp::comm_grd.xjs"
- function test1_onload(obj:Form, e:LoadEventInfo)
- {
- }
- //========================================================================
- //멀티 콤보
- //------------------------------------------------------------------------
- //데이터셋 바인드
- function Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_comCodeChk00.setBindDataset(Dataset00,"Column0","Column1");
- }
- //setdata
- function Button01_onclick(obj:Button, e:ClickEventInfo)
- {
- var val = "";
- cp_comCodeChk00.setData(val);
- }
- //getdata
- function Button02_onclick(obj:Button, e:ClickEventInfo)
- {
- var rtn = cp_comCodeChk00.getData();
- alert("code = "+rtn[0]+" data="+rtn[1]);
- }
- //setEnable
- function Button03_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_comCodeChk00.setEnbale(false);
- }
- //setCallEvent
- function Button04_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_comCodeChk00.setCallEvent("fn_cmpEventChk");
- }
- function fn_cmpEventChk(obj)
- {
- trace(eval(obj).name);
- }
- function Button16_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_comCodeChk00.setRequestment(true);
- }
- //아이템 추가;
- function Button30_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_comCodeChk00.setAddItem("", "전체", "top", true);
- }
- //아이템삭wp
- function Button31_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_comCodeChk00.setRemoveItem("",false);
- }
- //========================================================================
- //월달력
- //------------------------------------------------------------------------
- //setData
- function Button06_onclick(obj:Button, e:ClickEventInfo)
- {
- var sdate = "201412";
- cp_monthCal00.setData("");
- }
- //getData
- function Button07_onclick(obj:Button, e:ClickEventInfo)
- {
- alert(cp_monthCal00.getData());
- }
- function Button08_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_monthCal00.setEnbale();
- }
- function Button09_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_monthCal00.setCallEvent("fn_Cal");
- }
- function fn_Cal(r)
- {
- alert("fn_Cal()::"+eval(r).getData());
- }
- function Button15_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_monthCal00.setRequestment(true);
- }
- //========================================================================
- //기간달력
- //------------------------------------------------------------------------
- function Button10_onclick(obj:Button, e:ClickEventInfo)
- {
- var aData = new Array();
- aData[0] = "20140201";
- aData[1] = "20140228";
- cp_periodCal00.setData(aData);
- }
- function Button11_onclick(obj:Button, e:ClickEventInfo)
- {
- alert(cp_periodCal00.getData());
- }
- function Button12_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_periodCal00.setEnbale();
- }
- function Button13_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_periodCal00.setCallEvent("fn_Cal");
- }
- //필수값으로 class 변경
- function Button14_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_periodCal00.setRequestment(true);
- }
- //========================================================================
- //checkboxList
- //------------------------------------------------------------------------
- //세팅함수(setInitProperty, setBindDataset, setCallEvent)함수를 한번에 실행한다.
- function Button28_onclick(obj:Button, e:ClickEventInfo)
- {
- /*
- * Argument : String sProp - user properties(setInitProperty)
- * Object objDs - dataset object(setBindDataset)
- * String sColVal - value column(setBindDataset)
- * String sColTxt - text column(setBindDataset)
- * String sEvent - event function(setCallEvent)
- */
- var sProp="col=5,row=3,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
- cp_checkboxList00.setInitComp(sProp, Dataset05,"Column0","Column1","fn_cmpEvent");
- }
- //바인드 데이터셋
- function Button05_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_checkboxList00.setBindDataset(Dataset05,"Column0","Column1");
- }
- //setdata
- function Button17_onclick(obj:Button, e:ClickEventInfo)
- {
- var aData = new Array();
- aData[0] = "a";
- aData[1] = "b";
- aData[2] = "c";
-
- var aFalseData = new Array();
- aFalseData[0] = "5";
- aFalseData[1] = "7";
- cp_checkboxList00.setData(aData, aFalseData,false);
- }
- //getData
- function Button18_onclick(obj:Button, e:ClickEventInfo)
- {
- var rtn = cp_checkboxList00.getData();
- alert("rtn="+rtn);
- }
- //setEnable
- function Button19_onclick(obj:Button, e:ClickEventInfo)
- {
- //cp_checkboxList00.setEnbale(false);
-
- var fRow = Dataset05.findRow("Column0","b");
-
- objChk = eval("cp_checkboxList00.chk_"+fRow);
- objChk.enable = false;
-
- }
- //setCallEvent
- function Button20_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_checkboxList00.setCallEvent("fn_cmpEvent");
- }
- function fn_cmpEvent(aa)
- {
- // //전체체크, 전체해제 함수구현
- if(eval(aa).text == "전체"){ //전체컬럼의 datacolumn값
- if(eval(aa).value == "00"){ //전체컬럼의 codecolumn값
- cp_checkboxList00.setCheckAll(true);
- }else{
- cp_checkboxList00.setCheckAll(false);
- }
- }
- }
- function Button21_onclick(obj:Button, e:ClickEventInfo)
- {
- /*
- col : 아이템 열의 개수 default : 1
- row : 아이템 행의 개수 default : 1
- cellspacing : 아이템 간의 열 간격 default : 0
- vcellspacing : 아이템간 행 간격 default : 0
- itemWidth : 아이템 넓이 default : 100
- itemHeight : 아이템 높이 default : 20
- overflow: form의 형태를 설정한다. default : 'visible'
- ("visible" : checkbox의 크기만큼 늘여준다.
- "hidden" : form의 크기를 늘이지 않고 그대로 둔다.
- "scroll" : 크기를 그대로 두고 scroll을 생성한다.)
- */
- // ","를 기준으로 하나의 property이고 생략 가능하다.
- cp_checkboxList00.setInitProperty("col=2,row=2,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'");
- }
- //========================================================================
- //multi radio
- //------------------------------------------------------------------------
- //세팅함수(setInitProperty, setBindDataset, setCallEvent)함수를 한번에 실행한다.
- function Button29_onclick(obj:Button, e:ClickEventInfo)
- {
- /*
- * Argument : String sProp - uset properties(setInitProperty)
- * Object objDs - dataset object(setBindDataset)
- * String sColVal - value column(setBindDataset)
- * String sColTxt - text column(setBindDataset)
- * String sEvent - event function(setCallEvent)
- */
-
- cp_radioList00.setInitComp("col=1,row=1", Dataset00,"Column0","Column1","fn_rdoEvent");
- //cp_radioList01.setInitComp("col=2,row=2", Dataset06,"Column0","Column1","");
- }
- //바인드 데이터셋
- function Button23_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_radioList00.setBindDataset(Dataset00,"Column0","Column1");
- }
- //setdata
- function Button24_onclick(obj:Button, e:ClickEventInfo)
- {
- var sData = "2";
- cp_radioList00.setData(sData);
- }
- //getData
- function Button25_onclick(obj:Button, e:ClickEventInfo)
- {
- var rtn = cp_radioList00.getData();
- alert("rtn="+rtn);
- }
- //setEnable
- function Button26_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_radioList00.setEnbale(false);
- }
- //setCallEvent
- function Button27_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_radioList00.setCallEvent("fn_rdoEvent");
- }
- function Button22_onclick(obj:Button, e:ClickEventInfo)
- {
- /*
- col : 아이템 열의 개수 default : 1
- row : 아이템 행의 개수 default : 1
- */
- // ","를 기준으로 하나의 property이고 생략 가능하다.
- cp_radioList00.setInitProperty("col=2,row=2");
- }
- function fn_rdoEvent(sname)
- {
- alert("fn_rdoEvent("+sname+")");
- }
- function cp_checkboxList00_onclick(obj:cp_checkboxList, e:ClickEventInfo)
- {
-
- }
- function Button32_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_checkboxList00.setCheckAll(true);
- }
- function Button33_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_selCombo00.setDataSet(Dataset04,"code","name");
- }
- function Button34_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_selCombo00.setData("2");
- }
- function Button35_onclick(obj:Button, e:ClickEventInfo)
- {
- var rtn = cp_selCombo00.getData();
- alert("rtn="+rtn);
- }
- function Button36_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_selCombo00.setEnable(false);
- }
- function Button38_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_selCombo00.setRequestment(true);
- }
- function Button37_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_selCombo00.setCallEvent("lf_selCompCloseup");
- }
- function lf_selCompCloseup(e){
- trace(e.postvalue);
- trace(e.prevalue);
- trace(e.posttext);
- trace(e.pretext);
- }
- function Button39_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_selCombo00.setAddItem("", "전체", "top", true);
- }
- function Button40_onclick(obj:Button, e:ClickEventInfo)
- {
- cp_selCombo00.setSearch(true);
- }
- function Button41_onclick(obj:Button, e:ClickEventInfo)
- {
- var rtn = cp_checkboxList00.getLableData();
- alert("rtn="+rtn);
- }
- function Button42_onclick(obj:Button, e:ClickEventInfo)
- {
- var rtn = cp_radioList00.getLableData();
- alert("rtn="+rtn);
- }
- ]]></Script>
- </Form>
- </FDL>
|