uo_newtask.sru 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. $PBExportHeader$uo_newtask.sru
  2. forward
  3. global type uo_newtask from userobject
  4. end type
  5. type cb_5 from uo_imflatbutton within uo_newtask
  6. end type
  7. type cb_3 from commandbutton within uo_newtask
  8. end type
  9. type cb_2 from commandbutton within uo_newtask
  10. end type
  11. type dw_2 from datawindow within uo_newtask
  12. end type
  13. type cb_1 from uo_imflatbutton within uo_newtask
  14. end type
  15. type dw_1 from datawindow within uo_newtask
  16. end type
  17. end forward
  18. global type uo_newtask from userobject
  19. integer width = 2779
  20. integer height = 1788
  21. long backcolor = 67108864
  22. string text = "none"
  23. long tabtextcolor = 33554432
  24. long picturemaskcolor = 536870912
  25. cb_5 cb_5
  26. cb_3 cb_3
  27. cb_2 cb_2
  28. dw_2 dw_2
  29. cb_1 cb_1
  30. dw_1 dw_1
  31. end type
  32. global uo_newtask uo_newtask
  33. on uo_newtask.create
  34. this.cb_5=create cb_5
  35. this.cb_3=create cb_3
  36. this.cb_2=create cb_2
  37. this.dw_2=create dw_2
  38. this.cb_1=create cb_1
  39. this.dw_1=create dw_1
  40. this.Control[]={this.cb_5,&
  41. this.cb_3,&
  42. this.cb_2,&
  43. this.dw_2,&
  44. this.cb_1,&
  45. this.dw_1}
  46. end on
  47. on uo_newtask.destroy
  48. destroy(this.cb_5)
  49. destroy(this.cb_3)
  50. destroy(this.cb_2)
  51. destroy(this.dw_2)
  52. destroy(this.cb_1)
  53. destroy(this.dw_1)
  54. end on
  55. type cb_5 from uo_imflatbutton within uo_newtask
  56. integer x = 151
  57. integer y = 1660
  58. integer width = 370
  59. integer taborder = 30
  60. boolean bringtotop = true
  61. boolean enabled = false
  62. string text = "下单确认"
  63. string normalpicname = "ok.bmp"
  64. end type
  65. type cb_3 from commandbutton within uo_newtask
  66. integer x = 2432
  67. integer y = 784
  68. integer width = 247
  69. integer height = 100
  70. integer taborder = 40
  71. boolean bringtotop = true
  72. integer textsize = -9
  73. integer weight = 400
  74. fontcharset fontcharset = gb2312charset!
  75. fontpitch fontpitch = variable!
  76. string facename = "宋体"
  77. string text = "删附件"
  78. end type
  79. type cb_2 from commandbutton within uo_newtask
  80. integer x = 2432
  81. integer y = 672
  82. integer width = 247
  83. integer height = 100
  84. integer taborder = 30
  85. boolean bringtotop = true
  86. integer textsize = -9
  87. integer weight = 400
  88. fontcharset fontcharset = gb2312charset!
  89. fontpitch fontpitch = variable!
  90. string facename = "宋体"
  91. string text = "浏览..."
  92. end type
  93. type dw_2 from datawindow within uo_newtask
  94. integer x = 23
  95. integer y = 672
  96. integer width = 2363
  97. integer height = 308
  98. integer taborder = 20
  99. boolean bringtotop = true
  100. string title = "none"
  101. string dataobject = "dw_saletask_dm_fj"
  102. boolean livescroll = true
  103. borderstyle borderstyle = stylelowered!
  104. end type
  105. type cb_1 from uo_imflatbutton within uo_newtask
  106. integer x = 2048
  107. integer y = 1660
  108. integer width = 370
  109. integer taborder = 20
  110. boolean bringtotop = true
  111. string text = "保存询价"
  112. string normalpicname = "save.bmp"
  113. end type
  114. type dw_1 from datawindow within uo_newtask
  115. integer width = 2770
  116. integer height = 1640
  117. integer taborder = 10
  118. boolean bringtotop = true
  119. string title = "none"
  120. string dataobject = "dw_saletask_dm_uc_bak"
  121. boolean livescroll = true
  122. borderstyle borderstyle = stylelowered!
  123. end type