w_sys_wait_fp.srw 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. $PBExportHeader$w_sys_wait_fp.srw
  2. forward
  3. global type w_sys_wait_fp from w_publ_base
  4. end type
  5. type st_2 from statictext within w_sys_wait_fp
  6. end type
  7. type p_1 from picture within w_sys_wait_fp
  8. end type
  9. end forward
  10. global type w_sys_wait_fp from w_publ_base
  11. integer x = 626
  12. integer y = 488
  13. integer width = 1138
  14. integer height = 236
  15. boolean titlebar = false
  16. string title = ""
  17. boolean controlmenu = false
  18. boolean minbox = false
  19. long backcolor = 16776960
  20. st_2 st_2
  21. p_1 p_1
  22. end type
  23. global w_sys_wait_fp w_sys_wait_fp
  24. type variables
  25. int ls_x
  26. end variables
  27. forward prototypes
  28. public function integer wf_set_msg (string arg_msg)
  29. end prototypes
  30. public function integer wf_set_msg (string arg_msg);//wf_set_msg()
  31. st_2.text=arg_msg
  32. return 0
  33. end function
  34. on w_sys_wait_fp.create
  35. int iCurrent
  36. call super::create
  37. this.st_2=create st_2
  38. this.p_1=create p_1
  39. iCurrent=UpperBound(this.Control)
  40. this.Control[iCurrent+1]=this.st_2
  41. this.Control[iCurrent+2]=this.p_1
  42. end on
  43. on w_sys_wait_fp.destroy
  44. call super::destroy
  45. destroy(this.st_2)
  46. destroy(this.p_1)
  47. end on
  48. event open;call super::open;
  49. ls_x=p_1.x
  50. end event
  51. event timer;if p_1.x=ls_x then
  52. p_1.x=ls_x+20
  53. else
  54. p_1.x=ls_x
  55. end if
  56. end event
  57. event hide;timer(0)
  58. end event
  59. event activate;timer(0.1)
  60. end event
  61. event deactivate;timer(0)
  62. end event
  63. type cb_func from w_publ_base`cb_func within w_sys_wait_fp
  64. boolean visible = false
  65. boolean enabled = false
  66. end type
  67. type cb_exit from w_publ_base`cb_exit within w_sys_wait_fp
  68. boolean visible = false
  69. boolean enabled = false
  70. end type
  71. type st_2 from statictext within w_sys_wait_fp
  72. integer x = 233
  73. integer y = 44
  74. integer width = 878
  75. integer height = 120
  76. boolean bringtotop = true
  77. integer textsize = -9
  78. integer weight = 400
  79. fontcharset fontcharset = gb2312charset!
  80. fontpitch fontpitch = variable!
  81. string facename = "宋体"
  82. long backcolor = 16776960
  83. boolean enabled = false
  84. string text = "系统正在处理,请稍候..."
  85. boolean focusrectangle = false
  86. end type
  87. type p_1 from picture within w_sys_wait_fp
  88. integer x = 23
  89. integer y = 48
  90. integer width = 183
  91. integer height = 120
  92. boolean bringtotop = true
  93. boolean originalsize = true
  94. string picturename = "graphics\report_sp.bmp"
  95. boolean focusrectangle = false
  96. end type