SPLOR90200_이미지결과상세조회.xfdl 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPLOR90200" position="absolute 0 0 880 740" titletext="이미지결과상세조회" onload="SPLOR90200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group1" position="absolute 0 0 860 675" style="">
  8. <Layouts>
  9. <Layout>
  10. <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 26 855 29" style="" anchor="default"/>
  11. <Static id="caption3" class="tit_2" position="absolute 5 11 174 24" style="" text="이미지 결과 상세보기"/>
  12. <Shape id="line5" class="line_3" linetype="horizontal" position="absolute 0 671 850 674" style="" anchor="default"/>
  13. <Div id="group2" scrollbars="autoboth" position="absolute 0 30 850 670" style="">
  14. <Layouts>
  15. <Layout>
  16. <ImageViewer id="img1" url="" position="absolute 0 0 845 635" style="background:transparent URL('..\..\..\IMAGES\lis\no_image.png');align:left;" anchor="default" windowed="true" onclick="group1_group2_img1_onclick" imagealign="left top"/>
  17. </Layout>
  18. </Layouts>
  19. </Div>
  20. </Layout>
  21. </Layouts>
  22. </Div>
  23. <Div id="group3" position="absolute 0 682 855 709" style="">
  24. <Layouts>
  25. <Layout>
  26. <Shape id="line8" class="line_6" linetype="horizontal" position="absolute 0 0 850 3" style="" anchor="default"/>
  27. <Button id="btn_close" class="btn4" position="absolute 790 5 846 27" style="" text="닫기" onclick="group3_btn_close_onclick"/>
  28. </Layout>
  29. </Layouts>
  30. </Div>
  31. </Layout>
  32. </Layouts>
  33. <Objects>
  34. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  35. <ColumnInfo>
  36. <Column id="send" type="STRING" size="256"/>
  37. </ColumnInfo>
  38. <Rows>
  39. <Row>
  40. <Col id="send"/>
  41. </Row>
  42. </Rows>
  43. </Dataset>
  44. <Dataset id="ds_main_getDescrslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  45. <ColumnInfo>
  46. <Column id="readrslt" type="STRING" size="256"/>
  47. </ColumnInfo>
  48. <Rows>
  49. <Row>
  50. <Col id="readrslt"/>
  51. </Row>
  52. </Rows>
  53. </Dataset>
  54. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  55. <ColumnInfo/>
  56. </Dataset>
  57. <Dataset id="ds_hidden_imgrslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  58. <ColumnInfo>
  59. <Column id="imgrslt" type="BLOB" size="256"/>
  60. <Column id="imght" type="STRING" size="256"/>
  61. <Column id="imgwidt" type="STRING" size="256"/>
  62. </ColumnInfo>
  63. </Dataset>
  64. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  65. <ColumnInfo/>
  66. </Dataset>
  67. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  68. <ColumnInfo>
  69. <Column id="init" type="STRING" size="256"/>
  70. </ColumnInfo>
  71. <Rows>
  72. <Row>
  73. <Col id="init"/>
  74. </Row>
  75. </Rows>
  76. </Dataset>
  77. </Objects>
  78. <Bind>
  79. <BindItem id="item0" compid="group1.group2.img1" propid="value" datasetid="ds_hidden_imgrslt" columnid="imgrslt"/>
  80. <BindItem id="item1" compid="group1.group2.img1" propid="image" datasetid="ds_hidden_imgrslt" columnid="imgrslt"/>
  81. </Bind>
  82. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  83. * System Name :
  84. * Job Name :
  85. * Creator :
  86. * Make Date : 2015-05-01
  87. * Description :
  88. *---------------------------------------------------------------------------------------
  89. * Modify Date Modifier Modify Description
  90. *---------------------------------------------------------------------------------------
  91. * 2015-05-01 Live Converter TF->XP
  92. *
  93. *---------------------------------------------------------------------------------------
  94. ****************************************************************************************/
  95. include "com_commonxp::comm_main.xjs";
  96. //전체에서 event와 src를 제외한 script 를 모두포함.
  97. // 초기화
  98. function fExeInitialize(){
  99. //var img = document.controls.item(img);
  100. //if(ds_hidden_imgrslt.getColumn(0, "imgrslt")==""){
  101. //fChangeImage("../../.._com_commonweb_images_no_image.gif");
  102. //}else{
  103. //setImageRefInstance("ds_hidden_imgrslt_imgrslt");//이미지 셋팅
  104. try
  105. {
  106. ds_hidden_imgrslt.copyData(arg_ds_hidden_spcltestinfo);
  107. }
  108. catch(e)
  109. {
  110. sysf_messageBox("검사정보를 넘겨 받지 못하였습니다.", "I999");
  111. //this.close();
  112. }
  113. var imgwidth = ds_hidden_imgrslt.getColumn(0, "imgwidt");
  114. var imgheight = ds_hidden_imgrslt.getColumn(0, "imght");
  115. //alert("1 imgwidth= " + imgwidth + " imgheight= " + imgheight);
  116. if( imgwidth > 780){
  117. imgwidth = imgwidth * 0.7;
  118. }
  119. if( imgheight > 780) {
  120. imgheight = imgheight * 0.7;
  121. }
  122. // alert("2 imgwidth= " + imgwidth + " imgheight= " + imgheight);
  123. // group1.group2.img1.attribute("width") = imgwidth;
  124. // group1.group2.img1.attribute("height") = imgheight;
  125. // group1.group2.attribute("width") = imgwidth;
  126. // group1.group2.attribute("height") = imgheight;
  127. //alert( group1.group2.attribute("height") );
  128. // }
  129. //model.refresh();
  130. }
  131. // 닫기
  132. function fSetClose(){
  133. this.close();
  134. }
  135. function SPLOR90200_onload(obj:Form, e:LoadEventInfo) {
  136. frmf_initForm(obj);
  137. //grdf_initGrid(grd_XXX);
  138. //grdf_setGridSort(grd_XXX);
  139. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  140. fExeInitialize();
  141. }
  142. function group3_btn_close_onclick(obj:Button, e:ClickEventInfo) {
  143. fSetClose();
  144. }
  145. function group1_group2_img1_onclick(obj:ImageViewer, e:ClickEventInfo)
  146. {
  147. }
  148. ]]></Script>
  149. </Form>
  150. </FDL>