w_credence_mode_choice.srw 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. $PBExportHeader$w_credence_mode_choice.srw
  2. $PBExportComments$模式凭证
  3. forward
  4. global type w_credence_mode_choice from w_publ_choice
  5. end type
  6. end forward
  7. global type w_credence_mode_choice from w_publ_choice
  8. integer width = 1705
  9. integer height = 1636
  10. string title = "模式凭证选择"
  11. long backcolor = 80269524
  12. end type
  13. global w_credence_mode_choice w_credence_mode_choice
  14. type variables
  15. long rslt_credid = 0
  16. end variables
  17. on w_credence_mode_choice.create
  18. call super::create
  19. end on
  20. on w_credence_mode_choice.destroy
  21. call super::destroy
  22. end on
  23. event close;call super::close;CLOSEWITHRETURN(THIS,rslt_credid)
  24. //<INS_RT_STRU> 窗体级子定义结构变量,用于返回
  25. end event
  26. event ue_before_open;call super::ue_before_open;if_ue_sort = TRUE
  27. end event
  28. type cb_func from w_publ_choice`cb_func within w_credence_mode_choice
  29. end type
  30. type cb_exit from w_publ_choice`cb_exit within w_credence_mode_choice
  31. end type
  32. event cb_exit::clicked;rslt_credid = 0
  33. close(parent)
  34. end event
  35. type sle_ch from w_publ_choice`sle_ch within w_credence_mode_choice
  36. end type
  37. type dw_ch from w_publ_choice`dw_ch within w_credence_mode_choice
  38. integer width = 1678
  39. integer height = 1232
  40. string dataobject = "dw_credence_mode_choice"
  41. boolean hscrollbar = false
  42. boolean hsplitscroll = false
  43. end type
  44. type st_1 from w_publ_choice`st_1 within w_credence_mode_choice
  45. string text = "名称含"
  46. end type
  47. type cb_retrieve from w_publ_choice`cb_retrieve within w_credence_mode_choice
  48. end type
  49. event cb_retrieve::clicked;dw_ch.retrieve(sys_accsetid)
  50. end event
  51. type cb_choice from w_publ_choice`cb_choice within w_credence_mode_choice
  52. end type
  53. event cb_choice::clicked;call super::clicked;LONG LS_ROW
  54. LS_ROW=dw_CH.getrow()
  55. if LS_ROW<=0 then
  56. messagebox('系统提示','请先选择目标行!',StopSign!)
  57. return
  58. end if
  59. rslt_credid = dw_CH.OBJECT.credid[LS_ROW]
  60. CLOSE(PARENT)
  61. end event
  62. type ln_bar from w_publ_choice`ln_bar within w_credence_mode_choice
  63. end type
  64. type ln_bar2 from w_publ_choice`ln_bar2 within w_credence_mode_choice
  65. end type
  66. type r_bar from w_publ_choice`r_bar within w_credence_mode_choice
  67. end type
  68. type ln_1 from w_publ_choice`ln_1 within w_credence_mode_choice
  69. end type
  70. type ln_2 from w_publ_choice`ln_2 within w_credence_mode_choice
  71. end type