uo_tlbar_menuseperator.sru 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. $PBExportHeader$uo_tlbar_menuseperator.sru
  2. $PBExportComments$ToolBar 用户对象
  3. forward
  4. global type uo_tlbar_menuseperator from UserObject
  5. end type
  6. type ln_grey from line within uo_tlbar_menuseperator
  7. end type
  8. type ln_white from line within uo_tlbar_menuseperator
  9. end type
  10. end forward
  11. global type uo_tlbar_menuseperator from UserObject
  12. int Width=8201
  13. int Height=8
  14. long BackColor=79741120
  15. long PictureMaskColor=25166016
  16. long TabBackColor=67108864
  17. event mousemove pbm_mousemove
  18. ln_grey ln_grey
  19. ln_white ln_white
  20. end type
  21. global uo_tlbar_menuseperator uo_tlbar_menuseperator
  22. on uo_tlbar_menuseperator.create
  23. this.ln_grey=create ln_grey
  24. this.ln_white=create ln_white
  25. this.Control[]={this.ln_grey,&
  26. this.ln_white}
  27. end on
  28. on uo_tlbar_menuseperator.destroy
  29. destroy(this.ln_grey)
  30. destroy(this.ln_white)
  31. end on
  32. type ln_grey from line within uo_tlbar_menuseperator
  33. boolean Enabled=false
  34. int EndX=8201
  35. int LineThickness=4
  36. long LineColor=8421504
  37. end type
  38. type ln_white from line within uo_tlbar_menuseperator
  39. boolean Enabled=false
  40. int BeginY=4
  41. int EndX=8201
  42. int EndY=4
  43. int LineThickness=4
  44. long LineColor=16777215
  45. end type