w_storage_index_ch.srw 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. $PBExportHeader$w_storage_index_ch.srw
  2. forward
  3. global type w_storage_index_ch from w_publ_choice
  4. end type
  5. end forward
  6. global type w_storage_index_ch from w_publ_choice
  7. integer width = 3493
  8. string title = "仓库选择"
  9. end type
  10. global w_storage_index_ch w_storage_index_ch
  11. type variables
  12. s_edit_index_tran INS_RT_STRU
  13. end variables
  14. on w_storage_index_ch.create
  15. call super::create
  16. end on
  17. on w_storage_index_ch.destroy
  18. call super::destroy
  19. end on
  20. event close;call super::close;CLOSEWITHRETURN(THIS,INS_RT_STRU)
  21. end event
  22. type cb_func from w_publ_choice`cb_func within w_storage_index_ch
  23. end type
  24. type cb_exit from w_publ_choice`cb_exit within w_storage_index_ch
  25. end type
  26. event cb_exit::clicked;INS_RT_STRU.c_long = 0
  27. close(parent)
  28. end event
  29. type sle_ch from w_publ_choice`sle_ch within w_storage_index_ch
  30. boolean visible = false
  31. end type
  32. type dw_ch from w_publ_choice`dw_ch within w_storage_index_ch
  33. integer y = 180
  34. integer width = 3470
  35. integer height = 1532
  36. string dataobject = "dw_storage_index_ch"
  37. end type
  38. type st_1 from w_publ_choice`st_1 within w_storage_index_ch
  39. boolean visible = false
  40. end type
  41. type cb_retrieve from w_publ_choice`cb_retrieve within w_storage_index_ch
  42. end type
  43. event cb_retrieve::clicked;dw_ch.retrieve(sys_user_storageid)
  44. end event
  45. type cb_choice from w_publ_choice`cb_choice within w_storage_index_ch
  46. end type
  47. event cb_choice::clicked;call super::clicked;Long LS_ROW
  48. LS_ROW = dw_CH.GetRow()
  49. IF LS_ROW <= 0 THEN
  50. MessageBox('系统提示','请先选择目标行!',StopSign!)
  51. RETURN
  52. END IF
  53. INS_RT_STRU.c_long = dw_CH.Object.storageid[LS_ROW]
  54. Close(Parent)
  55. end event
  56. type ln_bar from w_publ_choice`ln_bar within w_storage_index_ch
  57. end type
  58. type ln_bar2 from w_publ_choice`ln_bar2 within w_storage_index_ch
  59. end type
  60. type r_bar from w_publ_choice`r_bar within w_storage_index_ch
  61. end type
  62. type ln_1 from w_publ_choice`ln_1 within w_storage_index_ch
  63. boolean visible = false
  64. end type
  65. type ln_2 from w_publ_choice`ln_2 within w_storage_index_ch
  66. boolean visible = false
  67. end type