w_outware_move_modprice.srw 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. $PBExportHeader$w_outware_move_modprice.srw
  2. forward
  3. global type w_outware_move_modprice from w_publ_base
  4. end type
  5. type cb_1 from uo_imflatbutton within w_outware_move_modprice
  6. end type
  7. type dw_1 from u_dw_rbtnfilter within w_outware_move_modprice
  8. end type
  9. end forward
  10. global type w_outware_move_modprice from w_publ_base
  11. integer width = 3177
  12. integer height = 1652
  13. string title = "请输入单价"
  14. boolean minbox = false
  15. windowtype windowtype = response!
  16. cb_1 cb_1
  17. dw_1 dw_1
  18. end type
  19. global w_outware_move_modprice w_outware_move_modprice
  20. type variables
  21. s_edit_index_tran s_tran
  22. end variables
  23. on w_outware_move_modprice.create
  24. int iCurrent
  25. call super::create
  26. this.cb_1=create cb_1
  27. this.dw_1=create dw_1
  28. iCurrent=UpperBound(this.Control)
  29. this.Control[iCurrent+1]=this.cb_1
  30. this.Control[iCurrent+2]=this.dw_1
  31. end on
  32. on w_outware_move_modprice.destroy
  33. call super::destroy
  34. destroy(this.cb_1)
  35. destroy(this.dw_1)
  36. end on
  37. event open;call super::open;s_tran = Message.PowerObjectParm
  38. dw_1.SetTransObject(sqlca)
  39. dw_1.Retrieve( s_tran.c_long)
  40. end event
  41. type cb_func from w_publ_base`cb_func within w_outware_move_modprice
  42. boolean visible = false
  43. end type
  44. type cb_exit from w_publ_base`cb_exit within w_outware_move_modprice
  45. integer x = 2816
  46. integer y = 1436
  47. end type
  48. type cb_1 from uo_imflatbutton within w_outware_move_modprice
  49. integer x = 2432
  50. integer y = 1436
  51. integer taborder = 20
  52. boolean bringtotop = true
  53. end type
  54. event clicked;call super::clicked;IF dw_1.Update() = -1 THEN
  55. MessageBox('错误','更新单价失败')
  56. RETURN
  57. END IF
  58. Close(PARENT)
  59. end event
  60. type dw_1 from u_dw_rbtnfilter within w_outware_move_modprice
  61. integer width = 3150
  62. integer height = 1404
  63. integer taborder = 20
  64. boolean bringtotop = true
  65. string dataobject = "dw_outwaremovemx_mod_edit"
  66. end type