w_inware_buy_mod_otheramt.srw 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. $PBExportHeader$w_inware_buy_mod_otheramt.srw
  2. forward
  3. global type w_inware_buy_mod_otheramt from w_publ_base
  4. end type
  5. type cb_1 from uo_imflatbutton within w_inware_buy_mod_otheramt
  6. end type
  7. type st_msg from statictext within w_inware_buy_mod_otheramt
  8. end type
  9. type em_1 from editmask within w_inware_buy_mod_otheramt
  10. end type
  11. end forward
  12. global type w_inware_buy_mod_otheramt from w_publ_base
  13. integer width = 837
  14. integer height = 506
  15. string title = "优惠款"
  16. boolean minbox = false
  17. windowtype windowtype = response!
  18. cb_1 cb_1
  19. st_msg st_msg
  20. em_1 em_1
  21. end type
  22. global w_inware_buy_mod_otheramt w_inware_buy_mod_otheramt
  23. type variables
  24. decimal ins_amt
  25. end variables
  26. on w_inware_buy_mod_otheramt.create
  27. int iCurrent
  28. call super::create
  29. this.cb_1=create cb_1
  30. this.st_msg=create st_msg
  31. this.em_1=create em_1
  32. iCurrent=UpperBound(this.Control)
  33. this.Control[iCurrent+1]=this.cb_1
  34. this.Control[iCurrent+2]=this.st_msg
  35. this.Control[iCurrent+3]=this.em_1
  36. end on
  37. on w_inware_buy_mod_otheramt.destroy
  38. call super::destroy
  39. destroy(this.cb_1)
  40. destroy(this.st_msg)
  41. destroy(this.em_1)
  42. end on
  43. event open;call super::open;
  44. ins_amt = Message.DoubleParm
  45. em_1.text = string(ins_amt)
  46. end event
  47. event close;call super::close;closewithreturn(this,ins_amt)
  48. end event
  49. type cb_func from w_publ_base`cb_func within w_inware_buy_mod_otheramt
  50. boolean visible = false
  51. end type
  52. type cb_exit from w_publ_base`cb_exit within w_inware_buy_mod_otheramt
  53. integer x = 457
  54. integer y = 259
  55. string text = "取消"
  56. end type
  57. type cb_1 from uo_imflatbutton within w_inware_buy_mod_otheramt
  58. integer x = 69
  59. integer y = 259
  60. integer width = 311
  61. integer height = 96
  62. integer taborder = 20
  63. boolean bringtotop = true
  64. string normalpicname = "ok.bmp"
  65. end type
  66. event clicked;call super::clicked;ins_amt = dec(em_1.text)
  67. close(parent)
  68. end event
  69. type st_msg from statictext within w_inware_buy_mod_otheramt
  70. integer x = 1573
  71. integer y = 45
  72. integer width = 336
  73. integer height = 48
  74. boolean bringtotop = true
  75. integer textsize = -9
  76. integer weight = 400
  77. fontcharset fontcharset = gb2312charset!
  78. fontpitch fontpitch = variable!
  79. string facename = "宋体"
  80. long textcolor = 33554432
  81. long backcolor = 67108864
  82. boolean focusrectangle = false
  83. end type
  84. type em_1 from editmask within w_inware_buy_mod_otheramt
  85. integer x = 187
  86. integer y = 99
  87. integer width = 461
  88. integer height = 83
  89. integer taborder = 30
  90. boolean bringtotop = true
  91. integer textsize = -9
  92. integer weight = 400
  93. fontcharset fontcharset = gb2312charset!
  94. fontpitch fontpitch = variable!
  95. string facename = "宋体"
  96. long textcolor = 33554432
  97. alignment alignment = right!
  98. borderstyle borderstyle = stylelowered!
  99. maskdatatype maskdatatype = decimalmask!
  100. string mask = "#,##0.######"
  101. end type