w_sys_wait.srw 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. $PBExportHeader$w_sys_wait.srw
  2. forward
  3. global type w_sys_wait from w_publ_base
  4. end type
  5. type st_2 from statictext within w_sys_wait
  6. end type
  7. type p_1 from picture within w_sys_wait
  8. end type
  9. type ln_6 from line within w_sys_wait
  10. end type
  11. type ln_1 from line within w_sys_wait
  12. end type
  13. end forward
  14. global type w_sys_wait from w_publ_base
  15. integer x = 626
  16. integer y = 488
  17. integer width = 1815
  18. integer height = 356
  19. boolean enabled = false
  20. boolean titlebar = false
  21. string title = ""
  22. boolean controlmenu = false
  23. boolean minbox = false
  24. long backcolor = 67108864
  25. st_2 st_2
  26. p_1 p_1
  27. ln_6 ln_6
  28. ln_1 ln_1
  29. end type
  30. global w_sys_wait w_sys_wait
  31. type variables
  32. int ls_x
  33. end variables
  34. forward prototypes
  35. public function integer wf_set_msg (string arg_msg)
  36. end prototypes
  37. public function integer wf_set_msg (string arg_msg);//wf_set_msg()
  38. st_2.text=arg_msg
  39. return 0
  40. end function
  41. on w_sys_wait.create
  42. int iCurrent
  43. call super::create
  44. this.st_2=create st_2
  45. this.p_1=create p_1
  46. this.ln_6=create ln_6
  47. this.ln_1=create ln_1
  48. iCurrent=UpperBound(this.Control)
  49. this.Control[iCurrent+1]=this.st_2
  50. this.Control[iCurrent+2]=this.p_1
  51. this.Control[iCurrent+3]=this.ln_6
  52. this.Control[iCurrent+4]=this.ln_1
  53. end on
  54. on w_sys_wait.destroy
  55. call super::destroy
  56. destroy(this.st_2)
  57. destroy(this.p_1)
  58. destroy(this.ln_6)
  59. destroy(this.ln_1)
  60. end on
  61. event open;call super::open;ls_x=p_1.x
  62. end event
  63. event timer;//if p_1.x=ls_x then
  64. // p_1.x=ls_x+20
  65. //else
  66. // p_1.x=ls_x
  67. //end if
  68. //
  69. end event
  70. event hide;timer(0)
  71. end event
  72. event activate;//timer(0.1)
  73. end event
  74. event deactivate;timer(0)
  75. end event
  76. type cb_func from w_publ_base`cb_func within w_sys_wait
  77. boolean visible = false
  78. boolean enabled = false
  79. end type
  80. type cb_exit from w_publ_base`cb_exit within w_sys_wait
  81. boolean visible = false
  82. boolean enabled = false
  83. end type
  84. type st_2 from statictext within w_sys_wait
  85. integer x = 50
  86. integer y = 188
  87. integer width = 1678
  88. integer height = 120
  89. boolean bringtotop = true
  90. integer textsize = -9
  91. integer weight = 400
  92. fontcharset fontcharset = gb2312charset!
  93. fontpitch fontpitch = variable!
  94. string facename = "宋体"
  95. long backcolor = 67108864
  96. boolean enabled = false
  97. string text = "系统正在处理,请稍候..."
  98. boolean focusrectangle = false
  99. end type
  100. type p_1 from picture within w_sys_wait
  101. integer width = 1829
  102. integer height = 160
  103. boolean bringtotop = true
  104. boolean originalsize = true
  105. string picturename = "graphics\jdt_banner.jpg"
  106. boolean focusrectangle = false
  107. end type
  108. type ln_6 from line within w_sys_wait
  109. long linecolor = 16777215
  110. integer linethickness = 4
  111. integer beginx = -9
  112. integer beginy = 164
  113. integer endx = 2002
  114. integer endy = 164
  115. end type
  116. type ln_1 from line within w_sys_wait
  117. long linecolor = 268435456
  118. integer linethickness = 4
  119. integer beginx = -9
  120. integer beginy = 160
  121. integer endx = 2002
  122. integer endy = 160
  123. end type