w_whatsnew_q6.srw 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. $PBExportHeader$w_whatsnew_q6.srw
  2. forward
  3. global type w_whatsnew_q6 from w_publ_base
  4. end type
  5. type dw_1 from datawindow within w_whatsnew_q6
  6. end type
  7. type st_1 from statictext within w_whatsnew_q6
  8. end type
  9. type st_2 from statictext within w_whatsnew_q6
  10. end type
  11. type st_3 from statictext within w_whatsnew_q6
  12. end type
  13. type st_4 from statictext within w_whatsnew_q6
  14. end type
  15. type ln_bt from line within w_whatsnew_q6
  16. end type
  17. end forward
  18. global type w_whatsnew_q6 from w_publ_base
  19. integer width = 5019
  20. integer height = 2644
  21. string title = "Q6新特性"
  22. long backcolor = 16777215
  23. dw_1 dw_1
  24. st_1 st_1
  25. st_2 st_2
  26. st_3 st_3
  27. st_4 st_4
  28. ln_bt ln_bt
  29. end type
  30. global w_whatsnew_q6 w_whatsnew_q6
  31. type variables
  32. long ins_action_ss = 150
  33. statictext ins_s_st[]
  34. end variables
  35. forward prototypes
  36. public subroutine wf_bt_action (statictext arg_st)
  37. end prototypes
  38. public subroutine wf_bt_action (statictext arg_st);long begintime ,endtime,stoptime
  39. long EndX,beginX
  40. long ll_part
  41. ll_part = ins_action_ss
  42. EndX = ln_bt.EndX
  43. beginX = ln_bt.beginX
  44. begintime = cpu()
  45. do while stoptime < ll_part//(毫秒)
  46. ln_bt.beginX = beginX + ( arg_st.x - beginX) / ll_part * stoptime
  47. ln_bt.EndX = EndX + ( arg_st.x + arg_st.width - EndX) / ll_part * stoptime
  48. endtime = cpu()
  49. stoptime = endtime - begintime
  50. loop
  51. ln_bt.EndX = arg_st.x + arg_st.width - 20
  52. ln_bt.beginX = arg_st.x
  53. long i
  54. for i = 1 to UpperBound(ins_s_st)
  55. if arg_st = ins_s_st[i] then
  56. ins_s_st[i].textcolor = 0
  57. else
  58. ins_s_st[i].textcolor = 8421504
  59. end if
  60. next
  61. end subroutine
  62. on w_whatsnew_q6.create
  63. int iCurrent
  64. call super::create
  65. this.dw_1=create dw_1
  66. this.st_1=create st_1
  67. this.st_2=create st_2
  68. this.st_3=create st_3
  69. this.st_4=create st_4
  70. this.ln_bt=create ln_bt
  71. iCurrent=UpperBound(this.Control)
  72. this.Control[iCurrent+1]=this.dw_1
  73. this.Control[iCurrent+2]=this.st_1
  74. this.Control[iCurrent+3]=this.st_2
  75. this.Control[iCurrent+4]=this.st_3
  76. this.Control[iCurrent+5]=this.st_4
  77. this.Control[iCurrent+6]=this.ln_bt
  78. end on
  79. on w_whatsnew_q6.destroy
  80. call super::destroy
  81. destroy(this.dw_1)
  82. destroy(this.st_1)
  83. destroy(this.st_2)
  84. destroy(this.st_3)
  85. destroy(this.st_4)
  86. destroy(this.ln_bt)
  87. end on
  88. event open;call super::open;dw_1.insertrow(0)
  89. ins_s_st = {st_1,st_2,st_3}
  90. end event
  91. type cb_func from w_publ_base`cb_func within w_whatsnew_q6
  92. boolean visible = false
  93. end type
  94. type cb_exit from w_publ_base`cb_exit within w_whatsnew_q6
  95. boolean visible = false
  96. end type
  97. type dw_1 from datawindow within w_whatsnew_q6
  98. integer width = 5015
  99. integer height = 2412
  100. integer taborder = 30
  101. boolean bringtotop = true
  102. string title = "none"
  103. string dataobject = "dw_whatsnew_app"
  104. boolean border = false
  105. borderstyle borderstyle = stylelowered!
  106. end type
  107. type st_1 from statictext within w_whatsnew_q6
  108. integer x = 91
  109. integer y = 2436
  110. integer width = 352
  111. integer height = 72
  112. boolean bringtotop = true
  113. integer textsize = -12
  114. integer weight = 700
  115. fontcharset fontcharset = gb2312charset!
  116. fontpitch fontpitch = variable!
  117. string facename = "宋体"
  118. long textcolor = 8421504
  119. long backcolor = 16777215
  120. string text = "财务总帐"
  121. alignment alignment = center!
  122. boolean focusrectangle = false
  123. end type
  124. event clicked;wf_bt_action(this)
  125. end event
  126. type st_2 from statictext within w_whatsnew_q6
  127. integer x = 489
  128. integer y = 2436
  129. integer width = 352
  130. integer height = 72
  131. boolean bringtotop = true
  132. integer textsize = -12
  133. integer weight = 700
  134. fontcharset fontcharset = gb2312charset!
  135. fontpitch fontpitch = variable!
  136. string facename = "宋体"
  137. long backcolor = 16777215
  138. string text = "移动办公"
  139. alignment alignment = center!
  140. boolean focusrectangle = false
  141. end type
  142. event clicked;wf_bt_action(this)
  143. end event
  144. type st_3 from statictext within w_whatsnew_q6
  145. integer x = 873
  146. integer y = 2436
  147. integer width = 448
  148. integer height = 72
  149. boolean bringtotop = true
  150. integer textsize = -12
  151. integer weight = 700
  152. fontcharset fontcharset = gb2312charset!
  153. fontpitch fontpitch = variable!
  154. string facename = "宋体"
  155. long textcolor = 8421504
  156. long backcolor = 16777215
  157. string text = "供应链协同"
  158. alignment alignment = center!
  159. boolean focusrectangle = false
  160. end type
  161. event clicked;wf_bt_action(this)
  162. end event
  163. type st_4 from statictext within w_whatsnew_q6
  164. integer x = 4073
  165. integer y = 2452
  166. integer width = 850
  167. integer height = 60
  168. boolean bringtotop = true
  169. integer textsize = -9
  170. integer weight = 400
  171. fontcharset fontcharset = gb2312charset!
  172. fontpitch fontpitch = variable!
  173. string facename = "宋体"
  174. long textcolor = 8421504
  175. long backcolor = 16777215
  176. string text = "请联系龙嘉软件业务员开通新功能"
  177. boolean focusrectangle = false
  178. end type
  179. type ln_bt from line within w_whatsnew_q6
  180. long linecolor = 22052863
  181. integer linethickness = 20
  182. integer beginx = 494
  183. integer beginy = 2528
  184. integer endx = 814
  185. integer endy = 2528
  186. end type