123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMR06100" position="absolute 0 0 530 280" titletext="추가기록" oninit="SPMMR06100_oninit" onload="SPMMR06100_onload">
- <Layouts>
- <Layout>
- <TextArea position="absolute 10 10 521 245" id="tar_extn" onrbuttondown="tar_extn_onrbuttondown" usecontextmenu="false"/>
- <Button position="absolute 404 250 460 270" id="btn_cnfm" class="btn4" visible="true" text="확인" onclick="btn_cnfm_onclick"/>
- <Button position="absolute 465 250 521 270" id="btn_cancel" class="btn4" visible="true" text="취소" onclick="btn_cancel_onclick"/>
- <PopupMenu id="pmn_menu_extnmsrght" innerdataset="@ds_pmenu_extnmsrght" idcolumn="func" captioncolumn="label" levelcolumn="level" position="absolute 532 0 648 127" onmenuclick="pmn_menu_extnmsrght_onmenuclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="etcrec" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="etcrec"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_pmenu_extnmsrght" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- <Column id="level" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">상용구</Col>
- <Col id="func">fPopCommUse</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="label">잘라내기 Ctrl+X</Col>
- <Col id="func">fselectCutMenu</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="label">복사 Ctrl+C</Col>
- <Col id="func">fselectCopyMenu</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="label">붙여넣기 Ctrl+V</Col>
- <Col id="func">fselectPasteMenu</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="label">삭제 Del</Col>
- <Col id="func">fselectDeleteMenu</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="label">-</Col>
- </Row>
- <Row>
- <Col id="label">모두선택 Ctrl+A</Col>
- <Col id="func">fselectSelAllMenu</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="tar_extn" propid="value" datasetid="ds_main" columnid="etcrec"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-01-26
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-01-26 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "emr_commonxp::EMRCommon.xjs"
- include "emr_medirecxp::MMRCommon.xjs"
- include "emr_medirecxp::SPMMR06100.xjs"
-
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
-
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : 01.sKey : 코드아이디
- * : 02.sValue : 코드명
- * Description : 공통코드를 가져온다.
- ****************************************************************************************/
-
- //=======================================================================================
- // Transaction Callback
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : 01.sSvcId : 서비스 ID
- * : 02.nErrorCode : 에러코드
- * : 03.sErrorMsg : 에러메시지
- * Description : tr_getCodeList의 콜백함수
- ****************************************************************************************/
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : button5
- * Event : onlbuttonup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SPMMR06100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPMMR06100_onload(obj:Form, e:LoadEventInfo)
- {
- fFormReady();
- }
- function btn_cnfm_onclick(obj:Button, e:ClickEventInfo)
- {
- tar_extn.updateToDataset();
- fConfirm();
- }
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- fCancel();
- }
- function tar_extn_onrbuttondown(obj:TextArea, e:MouseEventInfo)
- {
- pmn_menu_extnmsrght.trackPopup(e.screenX, e.screenY);
- //setPopupMenu("tar_extn", false, "/root/init/extnmsrght/mouserght", "label", "func");
- }
- function pmn_menu_extnmsrght_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- ]]></Script>
- </Form>
- </FDL>
|