w_msg_send.srw 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698
  1. $PBExportHeader$w_msg_send.srw
  2. forward
  3. global type w_msg_send from w_publ_base
  4. end type
  5. type sle_msgtitle from singlelineedit within w_msg_send
  6. end type
  7. type st_2 from statictext within w_msg_send
  8. end type
  9. type mle_objdpm from multilineedit within w_msg_send
  10. end type
  11. type dw_1 from u_dw_rbtnfilter within w_msg_send
  12. end type
  13. type rb_usergrp from radiobutton within w_msg_send
  14. end type
  15. type rb_user from radiobutton within w_msg_send
  16. end type
  17. type cb_que from uo_imflatbutton within w_msg_send
  18. end type
  19. type cb_1 from uo_imflatbutton within w_msg_send
  20. end type
  21. type st_1 from statictext within w_msg_send
  22. end type
  23. type sle_billcode from singlelineedit within w_msg_send
  24. end type
  25. type st_3 from statictext within w_msg_send
  26. end type
  27. type dw_msg_fj from datawindow within w_msg_send
  28. end type
  29. type uo_html from uo_html_editor within w_msg_send
  30. end type
  31. type ln_bar from line within w_msg_send
  32. end type
  33. type ln_bar2 from line within w_msg_send
  34. end type
  35. type r_bar from rectangle within w_msg_send
  36. end type
  37. end forward
  38. global type w_msg_send from w_publ_base
  39. integer x = 23
  40. integer y = 24
  41. integer width = 3502
  42. integer height = 2468
  43. string title = "请输入新消息"
  44. event ue_fj_del ( )
  45. event ue_fj_del_all ( )
  46. event ue_fj_add_link ( )
  47. event ue_fj_add ( )
  48. sle_msgtitle sle_msgtitle
  49. st_2 st_2
  50. mle_objdpm mle_objdpm
  51. dw_1 dw_1
  52. rb_usergrp rb_usergrp
  53. rb_user rb_user
  54. cb_que cb_que
  55. cb_1 cb_1
  56. st_1 st_1
  57. sle_billcode sle_billcode
  58. st_3 st_3
  59. dw_msg_fj dw_msg_fj
  60. uo_html uo_html
  61. ln_bar ln_bar
  62. ln_bar2 ln_bar2
  63. r_bar r_bar
  64. end type
  65. global w_msg_send w_msg_send
  66. type variables
  67. uo_transmsg uo_msg
  68. Blob ins_fjdata[] //附件转换为的blob
  69. Long ins_max_fj = 0//附件数目
  70. end variables
  71. forward prototypes
  72. public function integer wf_addobjdpm (string arg_objdpm)
  73. public function integer wf_dw ()
  74. end prototypes
  75. event ue_fj_del();Long lrow
  76. Long ls_i,ls_j = 0
  77. Blob ls_filedata[]
  78. lrow = dw_msg_fj.GetRow()
  79. IF lrow <= 0 THEN
  80. MessageBox('系统提示','请先选择目标!')
  81. RETURN
  82. END IF
  83. FOR ls_i = 1 To (lrow - 1)
  84. ls_j++
  85. ls_filedata[ls_j] = ins_fjdata[ls_i]
  86. NEXT
  87. FOR ls_i = (lrow + 1) TO UpperBound(ins_fjdata)
  88. ls_j++
  89. ls_filedata[ls_j] = ins_fjdata[ls_i]
  90. NEXT
  91. ins_fjdata[] = ls_filedata[]
  92. ins_max_fj = UpperBound(ins_fjdata)
  93. dw_msg_fj.DeleteRow(lrow)
  94. end event
  95. event ue_fj_del_all();Long ls_i
  96. Blob ls_null[]
  97. ins_fjdata[] = ls_null[]
  98. ins_max_fj = 0
  99. IF dw_msg_fj.RowCount() > 0 THEN
  100. FOR ls_i = dw_msg_fj.RowCount() TO 1 STEP -1
  101. dw_msg_fj.DeleteRow(ls_i)
  102. NEXT
  103. END IF
  104. end event
  105. event ue_fj_add_link();s_inputbox s_ipb
  106. String ls_linkpath = ''
  107. Long ls_newrow
  108. s_ipb.Title = '请输入超链接路径'
  109. OpenWithParm(w_inputbox,s_ipb)
  110. ls_linkpath = Message.StringParm
  111. IF Trim(ls_linkpath) = '' THEN
  112. RETURN
  113. END IF
  114. ls_newrow = dw_msg_fj.InsertRow(0)
  115. dw_msg_fj.Object.fjname[ls_newrow] = ls_linkpath
  116. dw_msg_fj.Object.fjpath[ls_newrow] = ls_linkpath
  117. dw_msg_fj.Object.fjtype[ls_newrow] = 1 //0为文件,1为超链接
  118. ins_max_fj++
  119. ins_fjdata[ins_max_fj] = Blob(ls_linkpath)
  120. end event
  121. event ue_fj_add();Integer i
  122. Long ls_i,ls_j,ls_newrow,ls_filesize
  123. Blob ls_filedata
  124. String Pathname,ls_filename
  125. String Filename[],errmsg
  126. i = GetFileSaveName("选择附件",Pathname,Filename[],"*","程序文件,*.*")
  127. IF i = 1 AND Trim(Pathname) <> '' THEN
  128. FOR ls_i = 1 TO UpperBound(Filename)
  129. IF UpperBound(Filename) = 1 THEN
  130. ls_filename = Pathname
  131. ELSE
  132. ls_filename = Pathname + '\'+Filename[ls_i]
  133. END IF
  134. IF dw_msg_fj.Find( 'fjpath='+"'"+ls_filename+"'", 0, dw_msg_fj.RowCount()) > 0 THEN
  135. CONTINUE;
  136. END IF
  137. IF f_filetoblob(ls_filename,ls_filedata,errmsg) = 0 THEN
  138. MessageBox('系统提示',errmsg)
  139. RETURN
  140. END IF
  141. ls_filesize = Len(ls_filedata)
  142. ls_newrow = dw_msg_fj.InsertRow(0)
  143. dw_msg_fj.Object.fjname[ls_newrow] = Filename[ls_i]
  144. dw_msg_fj.Object.fjpath[ls_newrow] = ls_filename
  145. dw_msg_fj.Object.fjsize[ls_newrow] = ls_filesize
  146. ins_max_fj++
  147. ins_fjdata[ins_max_fj] = ls_filedata
  148. NEXT
  149. END IF
  150. end event
  151. public function integer wf_addobjdpm (string arg_objdpm);string tmp_objdpm
  152. tmp_objdpm=trim(mle_objdpm.text)
  153. if tmp_objdpm = '' then
  154. mle_objdpm.text=arg_objdpm
  155. else
  156. if pos(tmp_objdpm,arg_objdpm,1) > 0 and len(tmp_objdpm) = len(arg_objdpm) then return 0
  157. if pos(tmp_objdpm,';'+arg_objdpm+';',1) > 0 then return 0
  158. if pos(tmp_objdpm,arg_objdpm+';',1) > 0 then return 0
  159. if pos(tmp_objdpm,';'+arg_objdpm,1) > 0 then return 0
  160. mle_objdpm.text=tmp_objdpm + ';'+arg_objdpm
  161. end if
  162. return 1
  163. end function
  164. public function integer wf_dw ();dw_1.setredraw(false)
  165. if rb_user.checked then
  166. dw_1.dataobject='dw_objdpm_user'
  167. else
  168. dw_1.dataobject='dw_objdpm_usergrp'
  169. end if
  170. dw_1.settransobject(sqlca)
  171. dw_1.retrieve(sys_scid)
  172. dw_1.setredraw(true)
  173. return 1
  174. end function
  175. on w_msg_send.create
  176. int iCurrent
  177. call super::create
  178. this.sle_msgtitle=create sle_msgtitle
  179. this.st_2=create st_2
  180. this.mle_objdpm=create mle_objdpm
  181. this.dw_1=create dw_1
  182. this.rb_usergrp=create rb_usergrp
  183. this.rb_user=create rb_user
  184. this.cb_que=create cb_que
  185. this.cb_1=create cb_1
  186. this.st_1=create st_1
  187. this.sle_billcode=create sle_billcode
  188. this.st_3=create st_3
  189. this.dw_msg_fj=create dw_msg_fj
  190. this.uo_html=create uo_html
  191. this.ln_bar=create ln_bar
  192. this.ln_bar2=create ln_bar2
  193. this.r_bar=create r_bar
  194. iCurrent=UpperBound(this.Control)
  195. this.Control[iCurrent+1]=this.sle_msgtitle
  196. this.Control[iCurrent+2]=this.st_2
  197. this.Control[iCurrent+3]=this.mle_objdpm
  198. this.Control[iCurrent+4]=this.dw_1
  199. this.Control[iCurrent+5]=this.rb_usergrp
  200. this.Control[iCurrent+6]=this.rb_user
  201. this.Control[iCurrent+7]=this.cb_que
  202. this.Control[iCurrent+8]=this.cb_1
  203. this.Control[iCurrent+9]=this.st_1
  204. this.Control[iCurrent+10]=this.sle_billcode
  205. this.Control[iCurrent+11]=this.st_3
  206. this.Control[iCurrent+12]=this.dw_msg_fj
  207. this.Control[iCurrent+13]=this.uo_html
  208. this.Control[iCurrent+14]=this.ln_bar
  209. this.Control[iCurrent+15]=this.ln_bar2
  210. this.Control[iCurrent+16]=this.r_bar
  211. end on
  212. on w_msg_send.destroy
  213. call super::destroy
  214. destroy(this.sle_msgtitle)
  215. destroy(this.st_2)
  216. destroy(this.mle_objdpm)
  217. destroy(this.dw_1)
  218. destroy(this.rb_usergrp)
  219. destroy(this.rb_user)
  220. destroy(this.cb_que)
  221. destroy(this.cb_1)
  222. destroy(this.st_1)
  223. destroy(this.sle_billcode)
  224. destroy(this.st_3)
  225. destroy(this.dw_msg_fj)
  226. destroy(this.uo_html)
  227. destroy(this.ln_bar)
  228. destroy(this.ln_bar2)
  229. destroy(this.r_bar)
  230. end on
  231. event close;f_setProfileString (sys_empid,this.classname(), "x",string(this.x))
  232. f_setProfileString (sys_empid,this.classname(), "y",string(this.y))
  233. end event
  234. event open;THIS.TriggerEvent('ue_before_open')
  235. s_admsg s_msg
  236. s_msg = Message.PowerObjectParm
  237. wf_dw()
  238. IF Integer(f_ProfileString (sys_empid,THIS.ClassName(), "x",String(THIS.X))) = 0 THEN
  239. THIS.X = 23
  240. THIS.Y = 24
  241. ELSE
  242. THIS.X = Integer(f_ProfileString (sys_empid,THIS.ClassName(), "x",String(THIS.X)))
  243. THIS.Y = Integer(f_ProfileString (sys_empid,THIS.ClassName(), "y",String(THIS.Y)))
  244. END IF
  245. IF s_msg.ifback = 1 THEN
  246. mle_objdpm.Text = s_msg.sendemp
  247. sle_billcode.Text = s_msg.billcode
  248. sle_msgtitle.Text = '回复:'+s_msg.msgtitle
  249. uo_html.uf_sethtml('<DIV><FONT face=Verdana color=#000080 size=2>&nbsp;</FONT></DIV><DIV><FONT face=Verdana color=#000080 size=2>&nbsp;</FONT></DIV><DIV><FONT face=Verdana color=#000080 size=2>&nbsp;</FONT></DIV><HR color=#b5c4df SIZE=1>' + s_msg.msg)
  250. else
  251. sle_billcode.Text = s_msg.billcode
  252. END IF
  253. end event
  254. event key;if keydown(KeyControl!) and keydown(keyS!) then
  255. cb_que.triggerevent(clicked!)
  256. return 1
  257. end if
  258. end event
  259. event resize;call super::resize;if newwidth < 3493 then this.width = 3493
  260. if newheight < 2388 then this.height = 2388
  261. ln_bar.endx = this.width
  262. ln_bar2.endx = this.width
  263. r_bar.width = this.width
  264. dw_1.x = this.width - dw_1.width - 40
  265. rb_user.x = dw_1.x + 50
  266. rb_usergrp.x = dw_1.x + 300
  267. mle_objdpm.width = dw_1.x - mle_objdpm.x
  268. sle_msgtitle.width = mle_objdpm.width
  269. uo_html.width = dw_1.x - uo_html.x
  270. dw_msg_fj.width = uo_html.width
  271. dw_1.height = this.height - dw_1.y - 140
  272. uo_html.height = this.height - uo_html.y - dw_msg_fj.height - 140
  273. dw_msg_fj.y = uo_html.y + uo_html.height
  274. end event
  275. type cb_func from w_publ_base`cb_func within w_msg_send
  276. boolean visible = false
  277. integer x = 14
  278. integer y = 1092
  279. integer width = 133
  280. integer taborder = 10
  281. boolean enabled = false
  282. string text = ""
  283. end type
  284. type cb_exit from w_publ_base`cb_exit within w_msg_send
  285. integer x = 594
  286. integer width = 151
  287. integer height = 164
  288. integer taborder = 110
  289. integer picsize = 16
  290. toolbaralignment pic_align = alignattop!
  291. boolean border = false
  292. end type
  293. type sle_msgtitle from singlelineedit within w_msg_send
  294. event key pbm_keydown
  295. integer x = 256
  296. integer y = 504
  297. integer width = 2546
  298. integer height = 84
  299. integer taborder = 30
  300. boolean bringtotop = true
  301. integer textsize = -9
  302. integer weight = 400
  303. fontcharset fontcharset = gb2312charset!
  304. fontpitch fontpitch = variable!
  305. string facename = "宋体"
  306. long textcolor = 33554432
  307. boolean autohscroll = false
  308. borderstyle borderstyle = stylelowered!
  309. end type
  310. event modified;keybd_event ( 9, 0, 0 , 0 ) // 按下tab
  311. keybd_event ( 9, 0, 2, 0 ) // 释放tab
  312. return 1
  313. end event
  314. type st_2 from statictext within w_msg_send
  315. integer x = 23
  316. integer y = 520
  317. integer width = 224
  318. integer height = 48
  319. integer textsize = -9
  320. integer weight = 400
  321. fontcharset fontcharset = gb2312charset!
  322. fontpitch fontpitch = variable!
  323. string facename = "宋体"
  324. long textcolor = 33554432
  325. long backcolor = 134217739
  326. boolean enabled = false
  327. string text = "标题:"
  328. alignment alignment = right!
  329. boolean focusrectangle = false
  330. end type
  331. type mle_objdpm from multilineedit within w_msg_send
  332. event key pbm_dwnkey
  333. integer x = 256
  334. integer y = 200
  335. integer width = 2542
  336. integer height = 296
  337. integer taborder = 20
  338. boolean bringtotop = true
  339. integer textsize = -11
  340. integer weight = 400
  341. fontcharset fontcharset = gb2312charset!
  342. fontpitch fontpitch = variable!
  343. string facename = "宋体"
  344. long textcolor = 33554432
  345. boolean vscrollbar = true
  346. boolean displayonly = true
  347. borderstyle borderstyle = stylelowered!
  348. end type
  349. type dw_1 from u_dw_rbtnfilter within w_msg_send
  350. integer x = 2821
  351. integer y = 260
  352. integer width = 658
  353. integer height = 1764
  354. integer taborder = 130
  355. boolean bringtotop = true
  356. string dataobject = "dw_objdpm_user"
  357. boolean vscrollbar = true
  358. boolean rbutton_filter_use = true
  359. end type
  360. event rowfocuschanged;if currentrow<=0 then return
  361. this.selectrow(0,false)
  362. this.selectrow(currentrow,true)
  363. end event
  364. event doubleclicked;if row<=0 then return
  365. string ls_objdpm
  366. if rb_user.checked then
  367. ls_objdpm=dw_1.object.username[row]
  368. else
  369. ls_objdpm=dw_1.object.usergroup[row]
  370. end if
  371. wf_addobjdpm(ls_objdpm)
  372. end event
  373. type rb_usergrp from radiobutton within w_msg_send
  374. integer x = 3118
  375. integer y = 196
  376. integer width = 247
  377. integer height = 52
  378. boolean bringtotop = true
  379. integer textsize = -9
  380. integer weight = 400
  381. fontcharset fontcharset = gb2312charset!
  382. fontpitch fontpitch = variable!
  383. string facename = "宋体"
  384. long textcolor = 33554432
  385. long backcolor = 134217739
  386. string text = "用户组"
  387. end type
  388. event clicked;wf_dw()
  389. end event
  390. type rb_user from radiobutton within w_msg_send
  391. integer x = 2871
  392. integer y = 196
  393. integer width = 247
  394. integer height = 52
  395. boolean bringtotop = true
  396. integer textsize = -9
  397. integer weight = 400
  398. fontcharset fontcharset = gb2312charset!
  399. fontpitch fontpitch = variable!
  400. string facename = "宋体"
  401. long textcolor = 33554432
  402. long backcolor = 134217739
  403. string text = "用户"
  404. boolean checked = true
  405. end type
  406. event clicked;wf_dw()
  407. end event
  408. type cb_que from uo_imflatbutton within w_msg_send
  409. integer width = 398
  410. integer height = 164
  411. integer taborder = 60
  412. string text = "发送[Ctrl+s]"
  413. string normalpicname = "email_view2.bmp"
  414. integer picsize = 16
  415. toolbaralignment pic_align = alignattop!
  416. boolean border = false
  417. end type
  418. event clicked;call super::clicked;String ls_objdpm,ls_msgtitle,ls_s_msg,arg_msg,ls_billcode
  419. Boolean ifcommit
  420. Long ls_i
  421. ls_objdpm = Trim(mle_objdpm.Text)
  422. ls_msgtitle = Trim(sle_msgtitle.Text)
  423. ls_s_msg = Trim(uo_html.uf_gethtml( ))
  424. ls_billcode = Trim(sle_billcode.Text)
  425. IF ins_max_fj = 0 THEN
  426. ifcommit = TRUE
  427. ELSE
  428. ifcommit = FALSE
  429. END IF
  430. IF uo_msg.f_create_admsg(sys_empid,publ_operator,ls_objdpm,ls_msgtitle,ls_s_msg,arg_msg,0,ls_billcode,ifcommit) = 0 THEN
  431. MessageBox('系统提示','消息发送失败{'+arg_msg+'}')
  432. RETURN
  433. END IF
  434. FOR ls_i = 1 TO ins_max_fj
  435. IF ls_i = ins_max_fj THEN
  436. ifcommit = TRUE
  437. ELSE
  438. ifcommit = FALSE
  439. END IF
  440. IF uo_msg.f_save_fj(uo_msg.uo_msgid,dw_msg_fj.Object.fjname[ls_i],ins_fjdata[ls_i],dw_msg_fj.Object.fjsize[ls_i],dw_msg_fj.Object.fjtype[ls_i],arg_msg,ifcommit) = 0 THEN
  441. MessageBox('系统提示','消息发送失败{'+arg_msg+'}')
  442. RETURN
  443. END IF
  444. NEXT
  445. Close(PARENT)
  446. end event
  447. type cb_1 from uo_imflatbutton within w_msg_send
  448. integer x = 398
  449. integer width = 197
  450. integer height = 164
  451. integer taborder = 70
  452. boolean bringtotop = true
  453. string text = "附件"
  454. string normalpicname = "email_fj.bmp"
  455. integer picsize = 16
  456. toolbaralignment pic_align = alignattop!
  457. boolean border = false
  458. end type
  459. event clicked;call super::clicked; m_Dfc_Control_PopupMenu dmPopupMenu
  460. String menustr,ls_level
  461. menustr = "Text=添附件~tEvent=ue_fj_add"
  462. menustr = menustr + "|" + "Text=添链接~tEvent=ue_fj_add_link"
  463. menustr = menustr + "|" + "Text=-"
  464. menustr = menustr + "|" + "Text=删条目~tEvent=ue_fj_del"
  465. menustr = menustr + "|" + "Text=清空~tEvent=ue_fj_del_all"
  466. IF Len(Trim(menustr)) <> 0 THEN
  467. dmPopupMenu = CREATE m_Dfc_Control_PopupMenu
  468. dmPopupMenu.mf_BuildMenu(THIS, menustr)
  469. dmPopupMenu.mf_PopMenu()
  470. DESTROY dmPopupMenu
  471. END IF
  472. end event
  473. type st_1 from statictext within w_msg_send
  474. integer x = 23
  475. integer y = 200
  476. integer width = 224
  477. integer height = 48
  478. boolean bringtotop = true
  479. integer textsize = -9
  480. integer weight = 400
  481. fontcharset fontcharset = gb2312charset!
  482. fontpitch fontpitch = variable!
  483. string facename = "宋体"
  484. long textcolor = 33554432
  485. long backcolor = 134217739
  486. string text = "收件人:"
  487. alignment alignment = right!
  488. boolean focusrectangle = false
  489. end type
  490. type sle_billcode from singlelineedit within w_msg_send
  491. event key pbm_keydown
  492. integer x = 256
  493. integer y = 596
  494. integer width = 704
  495. integer height = 84
  496. integer taborder = 40
  497. boolean bringtotop = true
  498. integer textsize = -9
  499. integer weight = 400
  500. fontcharset fontcharset = gb2312charset!
  501. fontpitch fontpitch = variable!
  502. string facename = "宋体"
  503. long textcolor = 33554432
  504. boolean autohscroll = false
  505. borderstyle borderstyle = stylelowered!
  506. end type
  507. event modified;keybd_event ( 9, 0, 0 , 0 ) // 按下tab
  508. keybd_event ( 9, 0, 2, 0 ) // 释放tab
  509. return 1
  510. end event
  511. type st_3 from statictext within w_msg_send
  512. integer x = 23
  513. integer y = 612
  514. integer width = 224
  515. integer height = 48
  516. boolean bringtotop = true
  517. integer textsize = -9
  518. integer weight = 400
  519. fontcharset fontcharset = gb2312charset!
  520. fontpitch fontpitch = variable!
  521. string facename = "宋体"
  522. long textcolor = 33554432
  523. long backcolor = 134217739
  524. string text = "相关号:"
  525. alignment alignment = right!
  526. boolean focusrectangle = false
  527. end type
  528. type dw_msg_fj from datawindow within w_msg_send
  529. integer y = 1668
  530. integer width = 2807
  531. integer height = 696
  532. integer taborder = 90
  533. boolean bringtotop = true
  534. string dataobject = "dw_msg_fj"
  535. boolean hscrollbar = true
  536. boolean vscrollbar = true
  537. boolean livescroll = true
  538. borderstyle borderstyle = stylelowered!
  539. end type
  540. event rbuttondown; m_Dfc_Control_PopupMenu dmPopupMenu
  541. String menustr,ls_level
  542. menustr = "Text=添附件~tEvent=ue_fj_add"
  543. menustr = menustr + "|" + "Text=添链接~tEvent=ue_fj_add_link"
  544. menustr = menustr + "|" + "Text=-"
  545. if row > 0 then
  546. this.scrolltorow(row)
  547. menustr = menustr + "|" + "Text=删条目~tEvent=ue_fj_del"
  548. end if
  549. menustr = menustr + "|" + "Text=清空~tEvent=ue_fj_del_all"
  550. IF Len(Trim(menustr)) <> 0 THEN
  551. dmPopupMenu = CREATE m_Dfc_Control_PopupMenu
  552. dmPopupMenu.mf_BuildMenu(THIS, menustr)
  553. dmPopupMenu.mf_PopMenu()
  554. DESTROY dmPopupMenu
  555. END IF
  556. end event
  557. event rowfocuschanged;this.selectrow(0, false)
  558. if currentrow > 0 then
  559. this.selectrow(currentrow, true)
  560. end if
  561. end event
  562. type uo_html from uo_html_editor within w_msg_send
  563. integer y = 696
  564. integer width = 2807
  565. integer height = 912
  566. integer taborder = 60
  567. boolean bringtotop = true
  568. end type
  569. on uo_html.destroy
  570. call uo_html_editor::destroy
  571. end on
  572. type ln_bar from line within w_msg_send
  573. long linecolor = 268435456
  574. integer linethickness = 4
  575. integer beginy = 172
  576. integer endx = 3200
  577. integer endy = 172
  578. end type
  579. type ln_bar2 from line within w_msg_send
  580. long linecolor = 16777215
  581. integer linethickness = 4
  582. integer beginx = 14
  583. integer beginy = 176
  584. integer endx = 3278
  585. integer endy = 176
  586. end type
  587. type r_bar from rectangle within w_msg_send
  588. long linecolor = 16777215
  589. integer linethickness = 4
  590. long fillcolor = 1073741824
  591. integer x = 2126
  592. integer y = 40
  593. integer width = 87
  594. integer height = 68
  595. end type
  596. event constructor;this.fillcolor = 14215660
  597. this.linecolor = 14215660
  598. this.x = -1
  599. this.y = -1
  600. this.height = ln_bar.beginy - 5
  601. end event