123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPLOR90200" position="absolute 0 0 880 740" titletext="이미지결과상세조회" onload="SPLOR90200_onload">
- <Layouts>
- <Layout>
- <Div id="group1" position="absolute 0 0 860 675" style="">
- <Layouts>
- <Layout>
- <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 26 855 29" style="" anchor="default"/>
- <Static id="caption3" class="tit_2" position="absolute 5 11 174 24" style="" text="이미지 결과 상세보기"/>
- <Shape id="line5" class="line_3" linetype="horizontal" position="absolute 0 671 850 674" style="" anchor="default"/>
- <Div id="group2" scrollbars="autoboth" position="absolute 0 30 850 670" style="">
- <Layouts>
- <Layout>
- <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"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group3" position="absolute 0 682 855 709" style="">
- <Layouts>
- <Layout>
- <Shape id="line8" class="line_6" linetype="horizontal" position="absolute 0 0 850 3" style="" anchor="default"/>
- <Button id="btn_close" class="btn4" position="absolute 790 5 846 27" style="" text="닫기" onclick="group3_btn_close_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="send" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="send"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_getDescrslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="readrslt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="readrslt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_hidden_imgrslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="imgrslt" type="BLOB" size="256"/>
- <Column id="imght" type="STRING" size="256"/>
- <Column id="imgwidt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="init" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="init"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group1.group2.img1" propid="value" datasetid="ds_hidden_imgrslt" columnid="imgrslt"/>
- <BindItem id="item1" compid="group1.group2.img1" propid="image" datasetid="ds_hidden_imgrslt" columnid="imgrslt"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-05-01
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-05-01 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- //전체에서 event와 src를 제외한 script 를 모두포함.
- // 초기화
- function fExeInitialize(){
- //var img = document.controls.item(img);
- //if(ds_hidden_imgrslt.getColumn(0, "imgrslt")==""){
- //fChangeImage("../../.._com_commonweb_images_no_image.gif");
- //}else{
- //setImageRefInstance("ds_hidden_imgrslt_imgrslt");//이미지 셋팅
-
- try
- {
- ds_hidden_imgrslt.copyData(arg_ds_hidden_spcltestinfo);
-
-
- }
- catch(e)
- {
- sysf_messageBox("검사정보를 넘겨 받지 못하였습니다.", "I999");
- //this.close();
- }
-
-
- var imgwidth = ds_hidden_imgrslt.getColumn(0, "imgwidt");
- var imgheight = ds_hidden_imgrslt.getColumn(0, "imght");
- //alert("1 imgwidth= " + imgwidth + " imgheight= " + imgheight);
- if( imgwidth > 780){
- imgwidth = imgwidth * 0.7;
- }
- if( imgheight > 780) {
- imgheight = imgheight * 0.7;
- }
- // alert("2 imgwidth= " + imgwidth + " imgheight= " + imgheight);
- // group1.group2.img1.attribute("width") = imgwidth;
- // group1.group2.img1.attribute("height") = imgheight;
- // group1.group2.attribute("width") = imgwidth;
- // group1.group2.attribute("height") = imgheight;
- //alert( group1.group2.attribute("height") );
- // }
- //model.refresh();
- }
- // 닫기
- function fSetClose(){
- this.close();
- }
- function SPLOR90200_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- fExeInitialize();
- }
- function group3_btn_close_onclick(obj:Button, e:ClickEventInfo) {
- fSetClose();
- }
- function group1_group2_img1_onclick(obj:ImageViewer, e:ClickEventInfo)
- {
-
- }
- ]]></Script>
- </Form>
- </FDL>
|