w_temp_storage_inout.srw 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. $PBExportHeader$w_temp_storage_inout.srw
  2. forward
  3. global type w_temp_storage_inout from window
  4. end type
  5. type cb_1 from commandbutton within w_temp_storage_inout
  6. end type
  7. type ddlb_storageid from uo_ddlb_storageid within w_temp_storage_inout
  8. end type
  9. type st_2 from statictext within w_temp_storage_inout
  10. end type
  11. end forward
  12. global type w_temp_storage_inout from window
  13. integer width = 1883
  14. integer height = 1244
  15. boolean titlebar = true
  16. string title = "先进先出 初始哈库存"
  17. boolean controlmenu = true
  18. boolean minbox = true
  19. boolean maxbox = true
  20. boolean resizable = true
  21. long backcolor = 67108864
  22. string icon = "AppIcon!"
  23. boolean center = true
  24. cb_1 cb_1
  25. ddlb_storageid ddlb_storageid
  26. st_2 st_2
  27. end type
  28. global w_temp_storage_inout w_temp_storage_inout
  29. type variables
  30. Long cur_storageid = -1
  31. Long cur_storageid_arr[]
  32. end variables
  33. on w_temp_storage_inout.create
  34. this.cb_1=create cb_1
  35. this.ddlb_storageid=create ddlb_storageid
  36. this.st_2=create st_2
  37. this.Control[]={this.cb_1,&
  38. this.ddlb_storageid,&
  39. this.st_2}
  40. end on
  41. on w_temp_storage_inout.destroy
  42. destroy(this.cb_1)
  43. destroy(this.ddlb_storageid)
  44. destroy(this.st_2)
  45. end on
  46. type cb_1 from commandbutton within w_temp_storage_inout
  47. integer x = 1371
  48. integer y = 48
  49. integer width = 457
  50. integer height = 140
  51. integer taborder = 20
  52. integer textsize = -9
  53. integer weight = 400
  54. fontcharset fontcharset = gb2312charset!
  55. fontpitch fontpitch = variable!
  56. string facename = "宋体"
  57. string text = "初始化"
  58. end type
  59. event clicked;IF cur_storageid = -1 THEN
  60. MessageBox('错误','请选择仓库!!')
  61. RETURN
  62. END IF
  63. IF MessageBox ("询问","初始化会清除u_mtrlware_inmx表,是否确定要继续操作吗?",Question!,YesNo! ) = 2 THEN RETURN
  64. end event
  65. type ddlb_storageid from uo_ddlb_storageid within w_temp_storage_inout
  66. integer x = 201
  67. integer y = 52
  68. integer width = 1088
  69. integer height = 1232
  70. boolean bringtotop = true
  71. end type
  72. event constructor;call super::constructor;cur_storageid = this.uo_storageid
  73. cur_storageid_arr = this.uo_storageid_arr
  74. end event
  75. event selectionchanged;call super::selectionchanged;cur_storageid = this.uo_storageid
  76. cur_storageid_arr = this.uo_storageid_arr
  77. end event
  78. type st_2 from statictext within w_temp_storage_inout
  79. integer y = 68
  80. integer width = 192
  81. integer height = 48
  82. boolean bringtotop = true
  83. integer textsize = -9
  84. integer weight = 400
  85. fontcharset fontcharset = gb2312charset!
  86. fontpitch fontpitch = variable!
  87. string facename = "宋体"
  88. long textcolor = 33554432
  89. long backcolor = 134217739
  90. string text = "仓库:"
  91. alignment alignment = right!
  92. boolean focusrectangle = false
  93. end type