w_quote_mxdo.srw 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. $PBExportHeader$w_quote_mxdo.srw
  2. forward
  3. global type w_quote_mxdo from w_publ_base
  4. end type
  5. type cb_1 from uo_imflatbutton within w_quote_mxdo
  6. end type
  7. type rb_1 from radiobutton within w_quote_mxdo
  8. end type
  9. type rb_2 from radiobutton within w_quote_mxdo
  10. end type
  11. end forward
  12. global type w_quote_mxdo from w_publ_base
  13. integer width = 1257
  14. integer height = 544
  15. string title = "选择"
  16. boolean minbox = false
  17. windowtype windowtype = response!
  18. cb_1 cb_1
  19. rb_1 rb_1
  20. rb_2 rb_2
  21. end type
  22. global w_quote_mxdo w_quote_mxdo
  23. type variables
  24. int ii_rst = 0
  25. end variables
  26. on w_quote_mxdo.create
  27. int iCurrent
  28. call super::create
  29. this.cb_1=create cb_1
  30. this.rb_1=create rb_1
  31. this.rb_2=create rb_2
  32. iCurrent=UpperBound(this.Control)
  33. this.Control[iCurrent+1]=this.cb_1
  34. this.Control[iCurrent+2]=this.rb_1
  35. this.Control[iCurrent+3]=this.rb_2
  36. end on
  37. on w_quote_mxdo.destroy
  38. call super::destroy
  39. destroy(this.cb_1)
  40. destroy(this.rb_1)
  41. destroy(this.rb_2)
  42. end on
  43. event close;call super::close;CloseWithReturn(This,ii_rst)
  44. end event
  45. type cb_func from w_publ_base`cb_func within w_quote_mxdo
  46. integer x = 242
  47. integer y = 896
  48. end type
  49. type cb_exit from w_publ_base`cb_exit within w_quote_mxdo
  50. integer x = 681
  51. integer y = 276
  52. string text = "取消"
  53. end type
  54. event cb_exit::clicked;ii_rst = 0
  55. Close(Parent)
  56. end event
  57. type cb_1 from uo_imflatbutton within w_quote_mxdo
  58. integer x = 224
  59. integer y = 276
  60. integer width = 311
  61. integer height = 96
  62. integer taborder = 10
  63. boolean bringtotop = true
  64. string normalpicname = "ok.bmp"
  65. end type
  66. event clicked;call super::clicked;IF rb_1.Checked THEN
  67. ii_rst = 1
  68. ELSE
  69. ii_rst = 2
  70. END IF
  71. Close(Parent)
  72. end event
  73. type rb_1 from radiobutton within w_quote_mxdo
  74. integer x = 251
  75. integer y = 112
  76. integer width = 402
  77. integer height = 60
  78. boolean bringtotop = true
  79. integer textsize = -9
  80. integer weight = 400
  81. fontcharset fontcharset = gb2312charset!
  82. fontpitch fontpitch = variable!
  83. string facename = "宋体"
  84. long textcolor = 33554432
  85. long backcolor = 134217739
  86. string text = "当前行"
  87. boolean checked = true
  88. end type
  89. type rb_2 from radiobutton within w_quote_mxdo
  90. integer x = 709
  91. integer y = 108
  92. integer width = 402
  93. integer height = 60
  94. boolean bringtotop = true
  95. integer textsize = -9
  96. integer weight = 400
  97. fontcharset fontcharset = gb2312charset!
  98. fontpitch fontpitch = variable!
  99. string facename = "宋体"
  100. long textcolor = 33554432
  101. long backcolor = 134217739
  102. string text = "所有行"
  103. end type