SPMMR06100_FreeText확장.xfdl 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMR06100" position="absolute 0 0 530 280" titletext="추가기록" oninit="SPMMR06100_oninit" onload="SPMMR06100_onload">
  5. <Layouts>
  6. <Layout>
  7. <TextArea position="absolute 10 10 521 245" id="tar_extn" onrbuttondown="tar_extn_onrbuttondown" usecontextmenu="false"/>
  8. <Button position="absolute 404 250 460 270" id="btn_cnfm" class="btn4" visible="true" text="확인" onclick="btn_cnfm_onclick"/>
  9. <Button position="absolute 465 250 521 270" id="btn_cancel" class="btn4" visible="true" text="취소" onclick="btn_cancel_onclick"/>
  10. <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"/>
  11. </Layout>
  12. </Layouts>
  13. <Objects>
  14. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  15. <ColumnInfo>
  16. <Column id="etcrec" type="STRING" size="256"/>
  17. </ColumnInfo>
  18. <Rows>
  19. <Row>
  20. <Col id="etcrec"/>
  21. </Row>
  22. </Rows>
  23. </Dataset>
  24. <Dataset id="ds_pmenu_extnmsrght" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  25. <ColumnInfo>
  26. <Column id="label" type="STRING" size="256"/>
  27. <Column id="func" type="STRING" size="256"/>
  28. <Column id="level" type="STRING" size="256"/>
  29. </ColumnInfo>
  30. <Rows>
  31. <Row>
  32. <Col id="label">상용구</Col>
  33. <Col id="func">fPopCommUse</Col>
  34. <Col id="level">0</Col>
  35. </Row>
  36. <Row>
  37. <Col id="label">잘라내기 Ctrl+X</Col>
  38. <Col id="func">fselectCutMenu</Col>
  39. <Col id="level">0</Col>
  40. </Row>
  41. <Row>
  42. <Col id="label">복사 Ctrl+C</Col>
  43. <Col id="func">fselectCopyMenu</Col>
  44. <Col id="level">0</Col>
  45. </Row>
  46. <Row>
  47. <Col id="label">붙여넣기 Ctrl+V</Col>
  48. <Col id="func">fselectPasteMenu</Col>
  49. <Col id="level">0</Col>
  50. </Row>
  51. <Row>
  52. <Col id="label">삭제 Del</Col>
  53. <Col id="func">fselectDeleteMenu</Col>
  54. <Col id="level">0</Col>
  55. </Row>
  56. <Row>
  57. <Col id="label">-</Col>
  58. </Row>
  59. <Row>
  60. <Col id="label">모두선택 Ctrl+A</Col>
  61. <Col id="func">fselectSelAllMenu</Col>
  62. </Row>
  63. </Rows>
  64. </Dataset>
  65. </Objects>
  66. <Bind>
  67. <BindItem id="item0" compid="tar_extn" propid="value" datasetid="ds_main" columnid="etcrec"/>
  68. </Bind>
  69. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  70. * System Name :
  71. * Job Name :
  72. * Creator :
  73. * Make Date : 2015-01-26
  74. * Description :
  75. *---------------------------------------------------------------------------------------
  76. * Modify Date Modifier Modify Description
  77. *---------------------------------------------------------------------------------------
  78. * 2015-01-26 Live Converter TF->XP
  79. *
  80. *---------------------------------------------------------------------------------------
  81. ****************************************************************************************/
  82. //=======================================================================================
  83. // Lib Include
  84. //---------------------------------------------------------------------------------------
  85. include "com_commonxp::comm_main.xjs"
  86. include "emr_commonxp::EMRCommon.xjs"
  87. include "emr_medirecxp::MMRCommon.xjs"
  88. include "emr_medirecxp::SPMMR06100.xjs"
  89. //=======================================================================================
  90. // Global Form Variable
  91. //---------------------------------------------------------------------------------------
  92. //=======================================================================================
  93. // Function
  94. //---------------------------------------------------------------------------------------
  95. /****************************************************************************************
  96. * Argument : 01.sKey : 코드아이디
  97. * : 02.sValue : 코드명
  98. * Description : 공통코드를 가져온다.
  99. ****************************************************************************************/
  100. //=======================================================================================
  101. // Transaction Callback
  102. //---------------------------------------------------------------------------------------
  103. /****************************************************************************************
  104. * Argument : 01.sSvcId : 서비스 ID
  105. * : 02.nErrorCode : 에러코드
  106. * : 03.sErrorMsg : 에러메시지
  107. * Description : tr_getCodeList의 콜백함수
  108. ****************************************************************************************/
  109. //=======================================================================================
  110. // Event
  111. //---------------------------------------------------------------------------------------
  112. /****************************************************************************************
  113. * Components :
  114. * Components ID : button5
  115. * Event : onlbuttonup
  116. * Argument : 01.obj : Object Event has occurred
  117. * : 02.e : Event Object
  118. * Description :
  119. ****************************************************************************************/
  120. function SPMMR06100_oninit(obj:Form, e:InitEventInfo)
  121. {
  122. frmf_initForm(obj);
  123. }
  124. function SPMMR06100_onload(obj:Form, e:LoadEventInfo)
  125. {
  126. fFormReady();
  127. }
  128. function btn_cnfm_onclick(obj:Button, e:ClickEventInfo)
  129. {
  130. tar_extn.updateToDataset();
  131. fConfirm();
  132. }
  133. function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
  134. {
  135. fCancel();
  136. }
  137. function tar_extn_onrbuttondown(obj:TextArea, e:MouseEventInfo)
  138. {
  139. pmn_menu_extnmsrght.trackPopup(e.screenX, e.screenY);
  140. //setPopupMenu("tar_extn", false, "/root/init/extnmsrght/mouserght", "label", "func");
  141. }
  142. function pmn_menu_extnmsrght_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  143. {
  144. eval(e.id + "()");
  145. }
  146. ]]></Script>
  147. </Form>
  148. </FDL>