w_cust_edit_popup.srw 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. $PBExportHeader$w_cust_edit_popup.srw
  2. forward
  3. global type w_cust_edit_popup from w_cust_edit
  4. end type
  5. end forward
  6. global type w_cust_edit_popup from w_cust_edit
  7. integer y = 388
  8. integer height = 2426
  9. boolean minbox = true
  10. windowtype windowtype = popup!
  11. event ue_ch_upname ( )
  12. end type
  13. global w_cust_edit_popup w_cust_edit_popup
  14. event ue_ch_upname();IF Not IsValid(w_outrepdef_edit_ch) THEN
  15. Open(w_outrepdef_edit_ch)
  16. s_outrepdef s_outrep_ch
  17. s_outrep_ch = Message.PowerObjectParm
  18. IF s_outrep_ch.outrepname <> '' THEN
  19. dw_base.Object.upname[dw_base.GetRow()] = s_outrep_ch.outrepname
  20. END IF
  21. datawindowchild childdw
  22. dw_base.GetChild("upname",childdw)
  23. childdw.SetTransObject (sqlca)
  24. childdw.Retrieve()
  25. END IF
  26. end event
  27. on w_cust_edit_popup.create
  28. call super::create
  29. end on
  30. on w_cust_edit_popup.destroy
  31. call super::destroy
  32. end on
  33. type cb_func from w_cust_edit`cb_func within w_cust_edit_popup
  34. end type
  35. type cb_exit from w_cust_edit`cb_exit within w_cust_edit_popup
  36. end type
  37. type sle_usual_query from w_cust_edit`sle_usual_query within w_cust_edit_popup
  38. end type
  39. type cb_nextpage from w_cust_edit`cb_nextpage within w_cust_edit_popup
  40. integer x = 2483
  41. end type
  42. type cb_priorpage from w_cust_edit`cb_priorpage within w_cust_edit_popup
  43. end type
  44. type cb_firstpage from w_cust_edit`cb_firstpage within w_cust_edit_popup
  45. end type
  46. type cb_retrieveall from w_cust_edit`cb_retrieveall within w_cust_edit_popup
  47. end type
  48. type em_pagerowno from w_cust_edit`em_pagerowno within w_cust_edit_popup
  49. integer x = 2015
  50. string text = "1000"
  51. end type
  52. type st_pagerowno from w_cust_edit`st_pagerowno within w_cust_edit_popup
  53. end type
  54. type st_1 from w_cust_edit`st_1 within w_cust_edit_popup
  55. end type
  56. type cb_add from w_cust_edit`cb_add within w_cust_edit_popup
  57. end type
  58. type cb_edit from w_cust_edit`cb_edit within w_cust_edit_popup
  59. end type
  60. type cb_delet from w_cust_edit`cb_delet within w_cust_edit_popup
  61. end type
  62. type cb_choice from w_cust_edit`cb_choice within w_cust_edit_popup
  63. end type
  64. type cb_cancel from w_cust_edit`cb_cancel within w_cust_edit_popup
  65. end type
  66. type cbx_mlselect from w_cust_edit`cbx_mlselect within w_cust_edit_popup
  67. end type
  68. type cbx_allselect from w_cust_edit`cbx_allselect within w_cust_edit_popup
  69. end type
  70. type cb_mode_itfchg_b from w_cust_edit`cb_mode_itfchg_b within w_cust_edit_popup
  71. end type
  72. type cb_mode_itfchg from w_cust_edit`cb_mode_itfchg within w_cust_edit_popup
  73. end type
  74. type gb_1 from w_cust_edit`gb_1 within w_cust_edit_popup
  75. end type
  76. type dw_uc from w_cust_edit`dw_uc within w_cust_edit_popup
  77. end type
  78. type cb_retrieve from w_cust_edit`cb_retrieve within w_cust_edit_popup
  79. end type
  80. type cb_print from w_cust_edit`cb_print within w_cust_edit_popup
  81. end type
  82. type ln_bar from w_cust_edit`ln_bar within w_cust_edit_popup
  83. end type
  84. type ln_bar2 from w_cust_edit`ln_bar2 within w_cust_edit_popup
  85. end type
  86. type r_bar from w_cust_edit`r_bar within w_cust_edit_popup
  87. end type
  88. type ln_1 from w_cust_edit`ln_1 within w_cust_edit_popup
  89. end type
  90. type ln_2 from w_cust_edit`ln_2 within w_cust_edit_popup
  91. end type
  92. type dw_index from w_cust_edit`dw_index within w_cust_edit_popup
  93. integer height = 2032
  94. end type
  95. type cb_help from w_cust_edit`cb_help within w_cust_edit_popup
  96. end type
  97. type cbx_inuse from w_cust_edit`cbx_inuse within w_cust_edit_popup
  98. end type
  99. type tv_1 from w_cust_edit`tv_1 within w_cust_edit_popup
  100. integer height = 2026
  101. end type
  102. type cb_1 from w_cust_edit`cb_1 within w_cust_edit_popup
  103. end type
  104. type tab_1 from w_cust_edit`tab_1 within w_cust_edit_popup
  105. integer height = 2045
  106. end type
  107. type tabpage_1 from w_cust_edit`tabpage_1 within tab_1
  108. integer height = 1946
  109. end type
  110. type dw_base from w_cust_edit`dw_base within tabpage_1
  111. event ue_ch_upname ( )
  112. integer height = 1949
  113. end type
  114. event dw_base::clicked;IF dwo.Name = 'p_2' THEN
  115. GetParentWin().TriggerEvent('ue_mod_address')
  116. END IF
  117. IF dw_edit_mode THEN
  118. IF dwo.Name = 'p_1' THEN
  119. GetParentWin().TriggerEvent('ue_ch_station')
  120. ELSEIF dwo.Name = 'p_3' THEN
  121. GetParentWin().TriggerEvent('ue_mod_freight_address')
  122. ELSEIF dwo.Name = 'p_emp' THEN
  123. GetParentWin().TriggerEvent('ue_ch_outrepdef')
  124. ELSEIF dwo.Name = 'p_banktype' THEN
  125. GetParentWin().TriggerEvent('ue_ch_banktype')
  126. ELSEIF dwo.Name = 'p_cusarea' THEN
  127. GetParentWin().TriggerEvent('ue_ch_cusarea')
  128. ELSEIF dwo.Name = 'p_member' THEN
  129. GetParentWin().TriggerEvent('ue_ch_member')
  130. ELSEIF dwo.Name = 'p_grade' THEN
  131. GetParentWin().TriggerEvent('ue_ch_grade')
  132. ELSEIF dwo.Name = 'p_up' THEN
  133. GetParentWin().TriggerEvent('ue_ch_upname')
  134. END IF
  135. END IF
  136. end event
  137. type tabpage_2 from w_cust_edit`tabpage_2 within tab_1
  138. integer height = 1946
  139. end type
  140. type cb_add_xm from w_cust_edit`cb_add_xm within tabpage_2
  141. end type
  142. type dw_rep from w_cust_edit`dw_rep within tabpage_2
  143. end type
  144. type cb_dele_xm from w_cust_edit`cb_dele_xm within tabpage_2
  145. end type
  146. type cb_other from w_cust_edit`cb_other within w_cust_edit_popup
  147. end type
  148. type st_2 from w_cust_edit`st_2 within w_cust_edit_popup
  149. end type
  150. type ddlb_member from w_cust_edit`ddlb_member within w_cust_edit_popup
  151. end type
  152. type cbx_auto_cuscode from w_cust_edit`cbx_auto_cuscode within w_cust_edit_popup
  153. integer x = 2567
  154. end type
  155. type st_3 from w_cust_edit`st_3 within w_cust_edit_popup
  156. integer x = 2564
  157. end type
  158. type em_1 from w_cust_edit`em_1 within w_cust_edit_popup
  159. integer x = 2801
  160. end type