w_aifmb_linkmsg.srw 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. $PBExportHeader$w_aifmb_linkmsg.srw
  2. forward
  3. global type w_aifmb_linkmsg from window
  4. end type
  5. type cb_2 from commandbutton within w_aifmb_linkmsg
  6. end type
  7. type cb_1 from commandbutton within w_aifmb_linkmsg
  8. end type
  9. type st_2 from statictext within w_aifmb_linkmsg
  10. end type
  11. type sle_1 from singlelineedit within w_aifmb_linkmsg
  12. end type
  13. type st_1 from statictext within w_aifmb_linkmsg
  14. end type
  15. type mle_1 from multilineedit within w_aifmb_linkmsg
  16. end type
  17. end forward
  18. global type w_aifmb_linkmsg from window
  19. integer width = 1371
  20. integer height = 1092
  21. boolean titlebar = true
  22. string title = "发送连接消息"
  23. boolean controlmenu = true
  24. windowtype windowtype = response!
  25. long backcolor = 67108864
  26. string icon = "AppIcon!"
  27. boolean center = true
  28. cb_2 cb_2
  29. cb_1 cb_1
  30. st_2 st_2
  31. sle_1 sle_1
  32. st_1 st_1
  33. mle_1 mle_1
  34. end type
  35. global w_aifmb_linkmsg w_aifmb_linkmsg
  36. type variables
  37. s_aifmb_linkmsg ins_rslt
  38. end variables
  39. on w_aifmb_linkmsg.create
  40. this.cb_2=create cb_2
  41. this.cb_1=create cb_1
  42. this.st_2=create st_2
  43. this.sle_1=create sle_1
  44. this.st_1=create st_1
  45. this.mle_1=create mle_1
  46. this.Control[]={this.cb_2,&
  47. this.cb_1,&
  48. this.st_2,&
  49. this.sle_1,&
  50. this.st_1,&
  51. this.mle_1}
  52. end on
  53. on w_aifmb_linkmsg.destroy
  54. destroy(this.cb_2)
  55. destroy(this.cb_1)
  56. destroy(this.st_2)
  57. destroy(this.sle_1)
  58. destroy(this.st_1)
  59. destroy(this.mle_1)
  60. end on
  61. event close;closewithreturn(this, ins_rslt)
  62. end event
  63. type cb_2 from commandbutton within w_aifmb_linkmsg
  64. integer x = 1120
  65. integer y = 884
  66. integer width = 201
  67. integer height = 104
  68. integer taborder = 40
  69. integer textsize = -9
  70. integer weight = 400
  71. fontcharset fontcharset = gb2312charset!
  72. fontpitch fontpitch = variable!
  73. string facename = "宋体"
  74. string text = "取消"
  75. end type
  76. event clicked;ins_rslt.ifok = 0
  77. close(parent)
  78. end event
  79. type cb_1 from commandbutton within w_aifmb_linkmsg
  80. integer x = 841
  81. integer y = 884
  82. integer width = 201
  83. integer height = 104
  84. integer taborder = 30
  85. integer textsize = -9
  86. integer weight = 400
  87. fontcharset fontcharset = gb2312charset!
  88. fontpitch fontpitch = variable!
  89. string facename = "宋体"
  90. string text = "确定"
  91. end type
  92. event clicked;ins_rslt.ifok = 1
  93. ins_rslt.MsgContent = mle_1.text
  94. ins_rslt.LinkString = sle_1.text
  95. close(parent)
  96. end event
  97. type st_2 from statictext within w_aifmb_linkmsg
  98. integer y = 788
  99. integer width = 142
  100. integer height = 48
  101. integer textsize = -9
  102. integer weight = 400
  103. fontcharset fontcharset = gb2312charset!
  104. fontpitch fontpitch = variable!
  105. string facename = "宋体"
  106. long textcolor = 33554432
  107. long backcolor = 67108864
  108. string text = "连接串"
  109. boolean focusrectangle = false
  110. end type
  111. type sle_1 from singlelineedit within w_aifmb_linkmsg
  112. integer x = 155
  113. integer y = 772
  114. integer width = 1193
  115. integer height = 84
  116. integer taborder = 20
  117. integer textsize = -9
  118. integer weight = 400
  119. fontcharset fontcharset = gb2312charset!
  120. fontpitch fontpitch = variable!
  121. string facename = "宋体"
  122. long textcolor = 33554432
  123. borderstyle borderstyle = stylelowered!
  124. end type
  125. type st_1 from statictext within w_aifmb_linkmsg
  126. integer width = 142
  127. integer height = 72
  128. integer textsize = -9
  129. integer weight = 400
  130. fontcharset fontcharset = gb2312charset!
  131. fontpitch fontpitch = variable!
  132. string facename = "宋体"
  133. long textcolor = 33554432
  134. long backcolor = 67108864
  135. string text = "消息"
  136. boolean focusrectangle = false
  137. end type
  138. type mle_1 from multilineedit within w_aifmb_linkmsg
  139. integer x = 155
  140. integer y = 4
  141. integer width = 1193
  142. integer height = 744
  143. integer taborder = 10
  144. integer textsize = -9
  145. integer weight = 400
  146. fontcharset fontcharset = gb2312charset!
  147. fontpitch fontpitch = variable!
  148. string facename = "宋体"
  149. long textcolor = 33554432
  150. borderstyle borderstyle = stylelowered!
  151. end type