w_email_move.srw 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392
  1. $PBExportHeader$w_email_move.srw
  2. forward
  3. global type w_email_move from window
  4. end type
  5. type st_9 from statictext within w_email_move
  6. end type
  7. type st_8 from statictext within w_email_move
  8. end type
  9. type sle_sendaddress from multilineedit within w_email_move
  10. end type
  11. type ddlb_sendaddess from dropdownlistbox within w_email_move
  12. end type
  13. type st_7 from statictext within w_email_move
  14. end type
  15. type sle_sendman from multilineedit within w_email_move
  16. end type
  17. type cbx_1 from checkbox within w_email_move
  18. end type
  19. type cb_3 from commandbutton within w_email_move
  20. end type
  21. type st_end from statictext within w_email_move
  22. end type
  23. type st_star from statictext within w_email_move
  24. end type
  25. type em_2 from editmask within w_email_move
  26. end type
  27. type st_6 from statictext within w_email_move
  28. end type
  29. type rb_2 from radiobutton within w_email_move
  30. end type
  31. type rb_1 from radiobutton within w_email_move
  32. end type
  33. type em_1 from editmask within w_email_move
  34. end type
  35. type ddlb_senddate from dropdownlistbox within w_email_move
  36. end type
  37. type st_5 from statictext within w_email_move
  38. end type
  39. type ddlb_sendman from dropdownlistbox within w_email_move
  40. end type
  41. type st_4 from statictext within w_email_move
  42. end type
  43. type cb_2 from commandbutton within w_email_move
  44. end type
  45. type cb_1 from commandbutton within w_email_move
  46. end type
  47. type sle_subject from singlelineedit within w_email_move
  48. end type
  49. type ddlb_subject from dropdownlistbox within w_email_move
  50. end type
  51. type st_3 from statictext within w_email_move
  52. end type
  53. type rb_4 from radiobutton within w_email_move
  54. end type
  55. type rb_3 from radiobutton within w_email_move
  56. end type
  57. type st_2 from statictext within w_email_move
  58. end type
  59. type st_1 from statictext within w_email_move
  60. end type
  61. type gb_1 from groupbox within w_email_move
  62. end type
  63. end forward
  64. global type w_email_move from window
  65. integer width = 2473
  66. integer height = 1696
  67. boolean titlebar = true
  68. string title = "邮件移入\移出文件夹"
  69. boolean controlmenu = true
  70. windowtype windowtype = response!
  71. long backcolor = 67108864
  72. string icon = "AppIcon!"
  73. boolean center = true
  74. st_9 st_9
  75. st_8 st_8
  76. sle_sendaddress sle_sendaddress
  77. ddlb_sendaddess ddlb_sendaddess
  78. st_7 st_7
  79. sle_sendman sle_sendman
  80. cbx_1 cbx_1
  81. cb_3 cb_3
  82. st_end st_end
  83. st_star st_star
  84. em_2 em_2
  85. st_6 st_6
  86. rb_2 rb_2
  87. rb_1 rb_1
  88. em_1 em_1
  89. ddlb_senddate ddlb_senddate
  90. st_5 st_5
  91. ddlb_sendman ddlb_sendman
  92. st_4 st_4
  93. cb_2 cb_2
  94. cb_1 cb_1
  95. sle_subject sle_subject
  96. ddlb_subject ddlb_subject
  97. st_3 st_3
  98. rb_4 rb_4
  99. rb_3 rb_3
  100. st_2 st_2
  101. st_1 st_1
  102. gb_1 gb_1
  103. end type
  104. global w_email_move w_email_move
  105. type variables
  106. s_tv_data1 tv_data
  107. long revboxid,tboxid
  108. end variables
  109. forward prototypes
  110. public function string of_globalreplace (string as_source, string as_old, string as_new)
  111. public function string wf_find (string arg_str)
  112. public subroutine wf_move ()
  113. end prototypes
  114. public function string of_globalreplace (string as_source, string as_old, string as_new);long ll_oldlen, ll_newlen, ll_pos
  115. as_source=trim(as_source)
  116. as_old=trim(as_old)
  117. ll_pos = Pos(as_source,as_old)
  118. IF ll_pos > 0 Then
  119. ll_oldlen = Len(as_old)
  120. ll_newlen = Len(as_new)
  121. DO WHILE ll_pos > 0
  122. as_source = Replace(as_source,ll_pos,ll_oldlen,as_new)
  123. ll_pos = Pos(as_source,as_old,ll_pos + ll_newlen)
  124. LOOP
  125. END IF
  126. RETURN as_source
  127. end function
  128. public function string wf_find (string arg_str);String ls_rslt
  129. Long ll_1,ll_2,i
  130. ll_1 = Pos(arg_str,"'")
  131. FOR i = ll_1 + 1 To Len(arg_str)
  132. IF Mid(arg_str,i,1) = "'" THEN
  133. ll_2 = i
  134. EXIT
  135. END IF
  136. NEXT
  137. ls_rslt=mid(arg_str,ll_1 + 1, ll_2 - ll_1 - 1)
  138. ls_rslt=of_globalreplace(ls_rslt,"%","")
  139. RETURN ls_rslt
  140. end function
  141. public subroutine wf_move ();//游标读收费项目
  142. String arry_sql[]
  143. Integer i
  144. DECLARE readitem_sql CURSOR FOR
  145. SELECT u_email_box.filter
  146. From u_email_box Where if_filter = 1;
  147. OPEN readitem_sql;
  148. i++
  149. FETCH readitem_sql Into :arry_sql[i];
  150. DO WHILE sqlca.SQLCode = 0
  151. i++
  152. FETCH readitem_sql Into :arry_sql[i];
  153. LOOP
  154. CLOSE readitem_sql;
  155. FOR i = 1 To UpperBound(arry_sql)
  156. IF arry_sql[i] <> "" THEN
  157. EXECUTE Immediate :arry_sql[i] Using sys_email_sqlca;
  158. IF sys_email_sqlca.SQLCode <> 0 THEN
  159. MessageBox("错误" , "移动邮件失败~n"+sys_email_sqlca.SQLErrText)
  160. GOTO ext
  161. END IF
  162. COMMIT;
  163. END IF
  164. NEXT
  165. ext:
  166. //w_email_view.cb_fresh.TriggerEvent(Clicked!)
  167. end subroutine
  168. on w_email_move.create
  169. this.st_9=create st_9
  170. this.st_8=create st_8
  171. this.sle_sendaddress=create sle_sendaddress
  172. this.ddlb_sendaddess=create ddlb_sendaddess
  173. this.st_7=create st_7
  174. this.sle_sendman=create sle_sendman
  175. this.cbx_1=create cbx_1
  176. this.cb_3=create cb_3
  177. this.st_end=create st_end
  178. this.st_star=create st_star
  179. this.em_2=create em_2
  180. this.st_6=create st_6
  181. this.rb_2=create rb_2
  182. this.rb_1=create rb_1
  183. this.em_1=create em_1
  184. this.ddlb_senddate=create ddlb_senddate
  185. this.st_5=create st_5
  186. this.ddlb_sendman=create ddlb_sendman
  187. this.st_4=create st_4
  188. this.cb_2=create cb_2
  189. this.cb_1=create cb_1
  190. this.sle_subject=create sle_subject
  191. this.ddlb_subject=create ddlb_subject
  192. this.st_3=create st_3
  193. this.rb_4=create rb_4
  194. this.rb_3=create rb_3
  195. this.st_2=create st_2
  196. this.st_1=create st_1
  197. this.gb_1=create gb_1
  198. this.Control[]={this.st_9,&
  199. this.st_8,&
  200. this.sle_sendaddress,&
  201. this.ddlb_sendaddess,&
  202. this.st_7,&
  203. this.sle_sendman,&
  204. this.cbx_1,&
  205. this.cb_3,&
  206. this.st_end,&
  207. this.st_star,&
  208. this.em_2,&
  209. this.st_6,&
  210. this.rb_2,&
  211. this.rb_1,&
  212. this.em_1,&
  213. this.ddlb_senddate,&
  214. this.st_5,&
  215. this.ddlb_sendman,&
  216. this.st_4,&
  217. this.cb_2,&
  218. this.cb_1,&
  219. this.sle_subject,&
  220. this.ddlb_subject,&
  221. this.st_3,&
  222. this.rb_4,&
  223. this.rb_3,&
  224. this.st_2,&
  225. this.st_1,&
  226. this.gb_1}
  227. end on
  228. on w_email_move.destroy
  229. destroy(this.st_9)
  230. destroy(this.st_8)
  231. destroy(this.sle_sendaddress)
  232. destroy(this.ddlb_sendaddess)
  233. destroy(this.st_7)
  234. destroy(this.sle_sendman)
  235. destroy(this.cbx_1)
  236. destroy(this.cb_3)
  237. destroy(this.st_end)
  238. destroy(this.st_star)
  239. destroy(this.em_2)
  240. destroy(this.st_6)
  241. destroy(this.rb_2)
  242. destroy(this.rb_1)
  243. destroy(this.em_1)
  244. destroy(this.ddlb_senddate)
  245. destroy(this.st_5)
  246. destroy(this.ddlb_sendman)
  247. destroy(this.st_4)
  248. destroy(this.cb_2)
  249. destroy(this.cb_1)
  250. destroy(this.sle_subject)
  251. destroy(this.ddlb_subject)
  252. destroy(this.st_3)
  253. destroy(this.rb_4)
  254. destroy(this.rb_3)
  255. destroy(this.st_2)
  256. destroy(this.st_1)
  257. destroy(this.gb_1)
  258. end on
  259. event open;
  260. String sql_filter
  261. Long if_filter
  262. tv_data = Message.PowerObjectParm
  263. IF rb_1.Checked = True THEN
  264. st_1.Text = "目标文件夹:" + tv_data.b_string
  265. st_2.Text = "源文件夹:" + tv_data.d_string + " 收件箱"
  266. ELSEIF rb_2.Checked = True THEN
  267. st_1.Text = "目标文件夹:" + tv_data.d_string + " 收件箱"
  268. st_2.Text = "源文件夹:" + tv_data.b_string
  269. END IF
  270. IF ddlb_senddate.Text <> "范围" THEN
  271. st_star.Visible = False
  272. st_end.Visible = False
  273. em_2.Visible = False
  274. END IF
  275. tboxid = tv_data.relid
  276. SELECT boxid Into :revboxid From u_email_box Where mailid = :tv_data.a_long And boxname = "收件箱";
  277. SELECT Filter,if_filter Into :sql_filter,:if_filter From u_email_box Where boxid = :tboxid Using sqlca;
  278. IF revboxid = 0 Or IsNull(revboxid) THEN
  279. MessageBox("错误","获取收件箱boxid出错")
  280. Close(This)
  281. END IF
  282. //messagebox(string(if_filter),sql_filter)
  283. Long L1,L2
  284. String temp,temp1
  285. String condition1,condition2,condition3,condition4
  286. String subject_condition1,sendman_condition2,sendaddress_condition3,senddate_condition4
  287. L1 = Pos(sql_filter,"where")
  288. L2 = Pos(sql_filter,"and mailtype")
  289. temp = Mid(sql_filter,L1 + 5 ,L2 - L1 -5)
  290. //MessageBox(String(L1),temp)
  291. IF Pos(temp," or") > 0 THEN
  292. // temp1 = temp +" or"
  293. rb_4.Checked = True
  294. L1 = Pos(temp,"#1s")
  295. L2 = Pos(temp,"#1e")
  296. subject_condition1 = Mid(temp,L1 + 3 ,L2 - L1 - 3)
  297. //
  298. L1 = Pos(temp,"#2s")
  299. L2 = Pos(temp,"#2e")
  300. sendman_condition2 = Mid(temp,L1 + 3 ,L2 - L1 - 3)
  301. //
  302. L1 = Pos(temp,"#3s")
  303. L2 = Pos(temp,"#3e")
  304. sendaddress_condition3 = Mid(temp,L1 + 3 ,L2 - L1 - 3)
  305. //
  306. L1 = Pos(temp,"#4s")
  307. L2 = Pos(temp,"#4e")
  308. senddate_condition4 = Mid(temp,L1 + 3 ,L2 - L1 - 3)
  309. ELSE
  310. rb_3.Checked = True
  311. // temp1 = temp +" and"
  312. L1 = Pos(temp,"#1s")
  313. L2 = Pos(temp,"#1e")
  314. subject_condition1 = Mid(temp,L1 + 3 ,L2 - L1 - 3)
  315. //
  316. L1 = Pos(temp,"#2s")
  317. L2 = Pos(temp,"#2e")
  318. sendman_condition2 = Mid(temp,L1 + 3 ,L2 - L1 - 3)
  319. //
  320. L1 = Pos(temp,"#3s")
  321. L2 = Pos(temp,"#3e")
  322. sendaddress_condition3 = Mid(temp,L1 + 3 ,L2 - L1 - 3)
  323. //
  324. L1 = Pos(temp,"#4s")
  325. L2 = Pos(temp,"#4e")
  326. senddate_condition4 = Mid(temp,L1 + 3 ,L2 - L1 - 3)
  327. END IF
  328. //MessageBox("1",subject_condition1)
  329. //MessageBox("2",sendman_condition2)
  330. //MessageBox("3",sendaddress_condition3)
  331. //MessageBox("4",senddate_condition4)
  332. IF subject_condition1 <> "" THEN
  333. IF Pos(condition1,"like") > 0 THEN
  334. ddlb_subject.Text = "包含"
  335. ELSE
  336. ddlb_subject.Text = "等于"
  337. END IF
  338. sle_subject.Text = wf_find(subject_condition1)
  339. END IF
  340. IF sendman_condition2 <> "" THEN
  341. ddlb_subject.Text = "等于"
  342. sendman_condition2 = of_globalreplace(sendman_condition2,"senduser in"," ")
  343. sendman_condition2 = of_globalreplace(sendman_condition2,"("," ")
  344. sendman_condition2 = of_globalreplace(sendman_condition2,")"," ")
  345. sle_sendman.Text = Trim(sendman_condition2)
  346. END IF
  347. IF sendaddress_condition3 <> "" THEN
  348. ddlb_sendaddess.Text = "等于"
  349. sendaddress_condition3 = of_globalreplace(sendaddress_condition3,"sendaddress in"," ")
  350. sendaddress_condition3 = of_globalreplace(sendaddress_condition3,"("," ")
  351. sendaddress_condition3 = of_globalreplace(sendaddress_condition3,")"," ")
  352. sle_sendaddress.Text = Trim(sendaddress_condition3)
  353. END IF
  354. IF senddate_condition4 <> "" THEN
  355. Integer ll_senddate
  356. String s1_senddate_condition4,s2_senddate_condition4
  357. ll_senddate = Pos(senddate_condition4,"and")
  358. IF ll_senddate > 0 THEN
  359. ddlb_senddate.Text = "范围"
  360. ddlb_senddate.TriggerEvent('selectionchanged')
  361. s1_senddate_condition4 = Left(senddate_condition4,ll_senddate )
  362. s2_senddate_condition4 = Right(senddate_condition4,Len(senddate_condition4) - ll_senddate )
  363. em_1.Text = wf_find(s1_senddate_condition4)
  364. em_2.Text = wf_find(s2_senddate_condition4)
  365. ELSE
  366. IF Pos(senddate_condition4,">=") > 0 THEN
  367. ddlb_senddate.Text = ">="
  368. ELSEIF Pos(senddate_condition4,"<=") > 0 THEN
  369. ddlb_senddate.Text = "<="
  370. ELSEIF Pos(senddate_condition4,">") > 0 THEN
  371. ddlb_senddate.Text = ">"
  372. ELSEIF Pos(senddate_condition4,"<") > 0 THEN
  373. ddlb_senddate.Text = "<"
  374. ELSEIF Pos(senddate_condition4,"=") > 0 THEN
  375. ddlb_senddate.Text = "="
  376. END IF
  377. em_1.Text = wf_find(senddate_condition4)
  378. END IF
  379. END IF
  380. //IF condition1 <> "" THEN
  381. // IF Pos(condition1,"subject") > 0 THEN
  382. // IF Pos(condition1,"like") > 0 THEN
  383. // ddlb_subject.Text = "包含"
  384. // ELSE
  385. // ddlb_subject.Text = "等于"
  386. // END IF
  387. // sle_subject.Text = wf_find(condition1)
  388. // ELSEIF Pos(condition1,"senduser") > 0 THEN
  389. // IF Pos(condition1,"like") > 0 THEN
  390. // ddlb_sendman.Text = "包含"
  391. // ELSE
  392. // ddlb_sendman.Text = "等于"
  393. // END IF
  394. // sle_sendman.Text = wf_find(condition1)
  395. // ELSEIF Pos(condition1,"revdate") > 0 THEN
  396. // IF Pos(condition2,"revdate") > 0 THEN
  397. // ddlb_senddate.Text = "范围"
  398. // ddlb_senddate.TriggerEvent('selectionchanged')
  399. // IF em_2.Text = "" THEN
  400. // em_2.Text = wf_find(condition2)
  401. // END IF
  402. // ELSEIF Pos(condition1,">=") > 0 THEN
  403. // ddlb_senddate.Text = ">="
  404. // ELSEIF Pos(condition1,"<=") > 0 THEN
  405. // ddlb_senddate.Text = "<="
  406. // ELSEIF Pos(condition1,">") > 0 THEN
  407. // ddlb_senddate.Text = ">"
  408. // ELSEIF Pos(condition1,"<") > 0 THEN
  409. // ddlb_senddate.Text = "<"
  410. // ELSEIF Pos(condition1,"=") > 0 THEN
  411. // ddlb_senddate.Text = "="
  412. //
  413. // END IF
  414. // IF em_1.Text = "" THEN
  415. // em_1.Text = wf_find(condition1)
  416. // END IF
  417. // END IF
  418. //END IF
  419. //IF condition2 <> "" THEN
  420. // IF Pos(condition2,"subject") > 0 THEN
  421. // IF Pos(condition2,"like") > 0 THEN
  422. // ddlb_subject.Text = "包含"
  423. // ELSE
  424. // ddlb_subject.Text = "等于"
  425. // END IF
  426. // sle_subject.Text = wf_find(condition2)
  427. // ELSEIF Pos(condition2,"senduser") > 0 THEN
  428. // IF Pos(condition2,"like") > 0 THEN
  429. // ddlb_sendman.Text = "包含"
  430. // ELSE
  431. // ddlb_sendman.Text = "等于"
  432. // END IF
  433. // sle_sendman.Text = wf_find(condition2)
  434. // ELSEIF Pos(condition2,"revdate") > 0 THEN
  435. // IF Pos(condition3,"revdate") > 0 THEN
  436. // ddlb_senddate.Text = "范围"
  437. // ddlb_senddate.TriggerEvent('selectionchanged')
  438. // IF em_2.Text = "" THEN
  439. // em_2.Text = wf_find(condition3)
  440. // END IF
  441. // ELSEIF Pos(condition2,">=") > 0 THEN
  442. // ddlb_senddate.Text = ">="
  443. // ELSEIF Pos(condition2,"<=") > 0 THEN
  444. // ddlb_senddate.Text = "<="
  445. // ELSEIF Pos(condition2,">") > 0 THEN
  446. // ddlb_senddate.Text = ">"
  447. // ELSEIF Pos(condition2,"<") > 0 THEN
  448. // ddlb_senddate.Text = "<"
  449. // ELSEIF Pos(condition2,"=") > 0 THEN
  450. // ddlb_senddate.Text = "="
  451. //
  452. // END IF
  453. // IF em_1.Text = "" THEN
  454. // em_1.Text = wf_find(condition2)
  455. // END IF
  456. // END IF
  457. //END IF
  458. //
  459. //IF condition3 <> "" THEN
  460. // IF Pos(condition3,"subject") > 0 THEN
  461. // IF Pos(condition3,"like") > 0 THEN
  462. // ddlb_subject.Text = "包含"
  463. // ELSE
  464. // ddlb_subject.Text = "等于"
  465. // END IF
  466. // sle_subject.Text = wf_find(condition3)
  467. // ELSEIF Pos(condition3,"senduser") > 0 THEN
  468. // IF Pos(condition3,"like") > 0 THEN
  469. // ddlb_sendman.Text = "包含"
  470. // ELSE
  471. // ddlb_sendman.Text = "等于"
  472. // END IF
  473. // sle_sendman.Text = wf_find(condition3)
  474. // ELSEIF Pos(condition3,"revdate") > 0 THEN
  475. // IF Pos(condition4,"revdate") > 0 THEN
  476. // ddlb_senddate.Text = "范围"
  477. // ddlb_senddate.TriggerEvent('selectionchanged')
  478. // IF em_2.Text = "" THEN
  479. // em_2.Text = wf_find(condition4)
  480. // END IF
  481. // ELSEIF Pos(condition3,">=") > 0 THEN
  482. // ddlb_senddate.Text = ">="
  483. // ELSEIF Pos(condition3,"<=") > 0 THEN
  484. // ddlb_senddate.Text = "<="
  485. // ELSEIF Pos(condition3,">") > 0 THEN
  486. // ddlb_senddate.Text = ">"
  487. // ELSEIF Pos(condition3,"<") > 0 THEN
  488. // ddlb_senddate.Text = "<"
  489. // ELSEIF Pos(condition3,"=") > 0 THEN
  490. // ddlb_senddate.Text = "="
  491. //
  492. // END IF
  493. // IF em_1.Text = "" THEN
  494. // em_1.Text = wf_find(condition3)
  495. // END IF
  496. // END IF
  497. //END IF
  498. end event
  499. type st_9 from statictext within w_email_move
  500. integer x = 315
  501. integer y = 1108
  502. integer width = 1111
  503. integer height = 48
  504. integer textsize = -9
  505. integer weight = 400
  506. fontcharset fontcharset = gb2312charset!
  507. fontpitch fontpitch = variable!
  508. string facename = "宋体"
  509. long textcolor = 134217857
  510. long backcolor = 67108864
  511. string text = "例子 ~'123456@qq.com~',~'789123@163.com~'"
  512. boolean focusrectangle = false
  513. end type
  514. type st_8 from statictext within w_email_move
  515. integer x = 325
  516. integer y = 872
  517. integer width = 727
  518. integer height = 48
  519. integer textsize = -9
  520. integer weight = 400
  521. fontcharset fontcharset = gb2312charset!
  522. fontpitch fontpitch = variable!
  523. string facename = "宋体"
  524. long textcolor = 134217857
  525. long backcolor = 67108864
  526. string text = "例子 ~'张三~',~'李四~'"
  527. boolean focusrectangle = false
  528. end type
  529. type sle_sendaddress from multilineedit within w_email_move
  530. integer x = 1477
  531. integer y = 956
  532. integer width = 800
  533. integer height = 264
  534. integer taborder = 10
  535. integer textsize = -9
  536. integer weight = 400
  537. fontcharset fontcharset = gb2312charset!
  538. fontpitch fontpitch = variable!
  539. string facename = "宋体"
  540. long textcolor = 33554432
  541. boolean vscrollbar = true
  542. boolean autovscroll = true
  543. borderstyle borderstyle = stylelowered!
  544. end type
  545. type ddlb_sendaddess from dropdownlistbox within w_email_move
  546. integer x = 722
  547. integer y = 972
  548. integer width = 617
  549. integer height = 400
  550. integer taborder = 10
  551. integer textsize = -9
  552. integer weight = 400
  553. fontcharset fontcharset = gb2312charset!
  554. fontpitch fontpitch = variable!
  555. string facename = "宋体"
  556. long textcolor = 33554432
  557. string text = "等于"
  558. string item[] = {"等于",""}
  559. borderstyle borderstyle = stylelowered!
  560. end type
  561. type st_7 from statictext within w_email_move
  562. integer x = 320
  563. integer y = 964
  564. integer width = 288
  565. integer height = 88
  566. integer textsize = -9
  567. integer weight = 400
  568. fontcharset fontcharset = gb2312charset!
  569. fontpitch fontpitch = variable!
  570. string facename = "宋体"
  571. long textcolor = 33554432
  572. long backcolor = 67108864
  573. string text = "发件人邮箱"
  574. boolean focusrectangle = false
  575. end type
  576. type sle_sendman from multilineedit within w_email_move
  577. integer x = 1477
  578. integer y = 748
  579. integer width = 800
  580. integer height = 164
  581. integer taborder = 50
  582. integer textsize = -9
  583. integer weight = 400
  584. fontcharset fontcharset = gb2312charset!
  585. fontpitch fontpitch = variable!
  586. string facename = "宋体"
  587. long textcolor = 33554432
  588. boolean vscrollbar = true
  589. boolean autovscroll = true
  590. borderstyle borderstyle = stylelowered!
  591. end type
  592. type cbx_1 from checkbox within w_email_move
  593. integer x = 133
  594. integer y = 1540
  595. integer width = 805
  596. integer height = 60
  597. integer textsize = -9
  598. integer weight = 400
  599. fontcharset fontcharset = gb2312charset!
  600. fontpitch fontpitch = variable!
  601. string facename = "宋体"
  602. long textcolor = 33554432
  603. long backcolor = 67108864
  604. string text = "以后收邮件后自动按规则分类"
  605. boolean checked = true
  606. end type
  607. type cb_3 from commandbutton within w_email_move
  608. integer x = 987
  609. integer y = 1488
  610. integer width = 434
  611. integer height = 112
  612. integer taborder = 40
  613. integer textsize = -9
  614. integer weight = 400
  615. fontcharset fontcharset = gb2312charset!
  616. fontpitch fontpitch = variable!
  617. string facename = "宋体"
  618. string text = "保存规则"
  619. end type
  620. event clicked;String ls_subject,ls_sendman,ls_sendaddress,ls_senddate,ls_senddate1,ls_choose_revdate,ls_sql1,ls_sql
  621. String ls_choose_subject,ls_choose_sendman
  622. ls_subject = Trim(sle_subject.Text)
  623. ls_sendman = Trim(sle_sendman.Text)
  624. ls_sendaddress= Trim(sle_sendaddress.Text)
  625. ls_senddate = "'" +Trim(em_1.Text) + "'"
  626. ls_senddate1 = "'" +Trim(em_2.Text) + "'"
  627. ls_choose_subject = Trim(ddlb_subject.Text)
  628. ls_choose_sendman = Trim(ddlb_sendman.Text)
  629. ls_choose_revdate = Trim(ddlb_senddate.Text)
  630. ///////////////////////////////////////////////////////////////////////////////////////////////////////////
  631. IF rb_3.Checked = True THEN //满足以下所有条件
  632. IF ls_subject <> "" THEN
  633. IF ls_choose_subject = "包含" THEN
  634. ls_sql = "#1s(subject like '%" + ls_subject + "%')#1e"
  635. ELSEIF ls_choose_subject = "等于" THEN
  636. ls_sql = "#1s(subject = '" + ls_subject + "')#1e"
  637. END IF
  638. END IF
  639. IF ls_sendman <> "" THEN
  640. IF ls_sql <> "" THEN ls_sql = ls_sql + " and "
  641. ls_sql = ls_sql + "#2s(senduser in ( " + ls_sendman + " ) )#2e"
  642. END IF
  643. IF ls_sendaddress <> "" THEN
  644. IF ls_sql <> "" THEN ls_sql = ls_sql + " and "
  645. ls_sql = ls_sql + "#3s(sendaddress in ( " + ls_sendaddress + " ) )#3e"
  646. END IF
  647. IF ls_senddate <> "''" And Date(Trim(em_1.Text)) <> Date("1900-01-01") THEN
  648. IF ls_sql <> "" THEN ls_sql = ls_sql + " and "
  649. IF ls_choose_revdate <> "范围" THEN
  650. ls_sql = ls_sql + "#4s(convert(char(10),revdate,120) " + ls_choose_revdate + ls_senddate + ")#4e"
  651. ELSE
  652. IF Date(Trim(em_2.Text)) <> Date("1900-01-01") THEN
  653. ls_sql = ls_sql + "#4s(convert(char(10),revdate,120) >= " + ls_senddate + " and convert(char(10),revdate,120) <= " + ls_senddate1 + ")#4e"
  654. END IF
  655. END IF
  656. END IF
  657. IF ls_sql <> "" THEN ls_sql = ls_sql + " and mailtype ='收件'"
  658. ELSEIF rb_4.Checked = True THEN //满足以下任意条件
  659. IF ls_subject <> "" THEN
  660. IF ls_choose_subject = "包含" THEN
  661. ls_sql = "#1s(subject like '%" + ls_subject + "%')#1e"
  662. ELSEIF ls_choose_subject = "等于" THEN
  663. ls_sql = "#1s(subject = '" + ls_subject + "')#1e"
  664. END IF
  665. END IF
  666. IF ls_sendman <> "" THEN
  667. IF ls_sql <> "" THEN ls_sql = ls_sql + " or "
  668. ls_sql = ls_sql + "#2s(senduser in ( " + ls_sendman + " ) )#2e"
  669. END IF
  670. IF ls_sendaddress <> "" THEN
  671. IF ls_sql <> "" THEN ls_sql = ls_sql + " or "
  672. ls_sql = ls_sql + "#3s(sendaddress in ( " + ls_sendaddress + " ) )#3e"
  673. END IF
  674. IF ls_senddate <> "''" And Date(Trim(em_1.Text)) <> Date("1900-01-01") THEN
  675. IF ls_sql <> "" THEN ls_sql = ls_sql + " or "
  676. IF ls_choose_revdate <> "范围" THEN
  677. ls_sql = ls_sql + "#4s(convert(char(10),revdate,120) " + ls_choose_revdate + ls_senddate + ")#4e"
  678. ELSE
  679. IF Date(Trim(em_2.Text)) <> Date("1900-01-01") THEN
  680. ls_sql = ls_sql + "#4s(convert(char(10),revdate,120) >= " + ls_senddate + " and convert(char(10),revdate,120) <= " + ls_senddate1 + ")#4e"
  681. END IF
  682. END IF
  683. END IF
  684. IF ls_sql <> "" THEN ls_sql = ls_sql + " and mailtype ='收件'"
  685. END IF
  686. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  687. ls_sql1 = ""
  688. IF rb_1.Checked = True THEN //从收件箱移入到文件夹
  689. IF ls_sql <> "" THEN
  690. ls_sql1 = "update u_email_msg set boxid=" + String(tboxid) +" where " + ls_sql + "and boxid=" + String(revboxid)
  691. END IF
  692. ELSEIF rb_2.Checked = True THEN //从文件夹移出到收件箱
  693. IF ls_sql <> "" THEN
  694. ls_sql1 = "update u_email_msg set boxid=" + String(revboxid) +" where " + ls_sql + "and boxid=" + String(tboxid)
  695. END IF
  696. END IF
  697. ls_sql1=of_globalreplace(ls_sql1,"‘","'")
  698. ls_sql1=of_globalreplace(ls_sql1,"’","'")
  699. ls_sql1=of_globalreplace(ls_sql1,",",",")
  700. //messagebox("",ls_sql1)
  701. Long if_filter = 0
  702. IF rb_1.Checked = True THEN
  703. IF cbx_1.Checked = True THEN
  704. if_filter = 1
  705. END IF
  706. UPDATE u_email_box Set Filter = :ls_sql1,if_filter = :if_filter Where boxid = :tboxid Using sqlca;
  707. IF sqlca.SQLCode <> 0 THEN
  708. MessageBox("错误" , "保存规则失败~n"+sqlca.SQLErrText)
  709. GOTO ext
  710. END IF
  711. COMMIT;
  712. MessageBox("成功","保存规则成功")
  713. ext:
  714. END IF
  715. end event
  716. type st_end from statictext within w_email_move
  717. integer x = 1349
  718. integer y = 1372
  719. integer width = 123
  720. integer height = 76
  721. integer textsize = -9
  722. integer weight = 400
  723. fontcharset fontcharset = gb2312charset!
  724. fontpitch fontpitch = variable!
  725. string facename = "宋体"
  726. long textcolor = 33554432
  727. long backcolor = 67108864
  728. string text = "结束"
  729. boolean focusrectangle = false
  730. end type
  731. type st_star from statictext within w_email_move
  732. integer x = 1353
  733. integer y = 1268
  734. integer width = 123
  735. integer height = 76
  736. integer textsize = -9
  737. integer weight = 400
  738. fontcharset fontcharset = gb2312charset!
  739. fontpitch fontpitch = variable!
  740. string facename = "宋体"
  741. long textcolor = 33554432
  742. long backcolor = 67108864
  743. string text = "开始"
  744. boolean focusrectangle = false
  745. end type
  746. type em_2 from editmask within w_email_move
  747. integer x = 1472
  748. integer y = 1352
  749. integer width = 800
  750. integer height = 84
  751. integer taborder = 40
  752. integer textsize = -9
  753. integer weight = 400
  754. fontcharset fontcharset = gb2312charset!
  755. fontpitch fontpitch = variable!
  756. string facename = "宋体"
  757. long textcolor = 33554432
  758. borderstyle borderstyle = stylelowered!
  759. maskdatatype maskdatatype = datemask!
  760. string mask = "yyyy-mm-dd"
  761. boolean dropdowncalendar = true
  762. end type
  763. type st_6 from statictext within w_email_move
  764. integer x = 114
  765. integer y = 1460
  766. integer width = 864
  767. integer height = 64
  768. integer textsize = -9
  769. integer weight = 400
  770. fontcharset fontcharset = gb2312charset!
  771. fontpitch fontpitch = variable!
  772. string facename = "宋体"
  773. long textcolor = 33554432
  774. long backcolor = 67108864
  775. string text = "(发件人 不包括 <邮箱地址> 部分)"
  776. boolean focusrectangle = false
  777. end type
  778. type rb_2 from radiobutton within w_email_move
  779. integer x = 1472
  780. integer y = 16
  781. integer width = 841
  782. integer height = 80
  783. integer textsize = -9
  784. integer weight = 400
  785. fontcharset fontcharset = gb2312charset!
  786. fontpitch fontpitch = variable!
  787. string facename = "宋体"
  788. long textcolor = 33554432
  789. long backcolor = 67108864
  790. string text = "从文件夹移出到收件箱"
  791. end type
  792. event clicked;IF rb_1.Checked = True THEN
  793. st_1.Text = "目标文件夹:" + tv_data.b_string
  794. st_2.Text = "源文件夹:" + tv_data.d_string + " 收件箱"
  795. ELSEIF rb_2.Checked = True THEN
  796. st_1.Text = "目标文件夹:" + tv_data.d_string + " 收件箱"
  797. st_2.Text = "源文件夹:" + tv_data.b_string
  798. END IF
  799. end event
  800. type rb_1 from radiobutton within w_email_move
  801. integer x = 110
  802. integer y = 16
  803. integer width = 841
  804. integer height = 80
  805. integer textsize = -9
  806. integer weight = 400
  807. fontcharset fontcharset = gb2312charset!
  808. fontpitch fontpitch = variable!
  809. string facename = "宋体"
  810. long textcolor = 33554432
  811. long backcolor = 67108864
  812. string text = "从收件箱移入到文件夹"
  813. boolean checked = true
  814. end type
  815. event clicked;IF rb_1.Checked = True THEN
  816. st_1.Text = "目标文件夹:" + tv_data.b_string
  817. st_2.Text = "源文件夹:" + tv_data.d_string + " 收件箱"
  818. ELSEIF rb_2.Checked = True THEN
  819. st_1.Text = "目标文件夹:" + tv_data.d_string + " 收件箱"
  820. st_2.Text = "源文件夹:" + tv_data.b_string
  821. END IF
  822. end event
  823. type em_1 from editmask within w_email_move
  824. integer x = 1472
  825. integer y = 1268
  826. integer width = 800
  827. integer height = 84
  828. integer taborder = 50
  829. integer textsize = -9
  830. integer weight = 400
  831. fontcharset fontcharset = gb2312charset!
  832. fontpitch fontpitch = variable!
  833. string facename = "宋体"
  834. long textcolor = 33554432
  835. borderstyle borderstyle = stylelowered!
  836. maskdatatype maskdatatype = datemask!
  837. string mask = "yyyy-mm-dd"
  838. boolean dropdowncalendar = true
  839. end type
  840. type ddlb_senddate from dropdownlistbox within w_email_move
  841. integer x = 731
  842. integer y = 1268
  843. integer width = 617
  844. integer height = 548
  845. integer taborder = 40
  846. integer textsize = -9
  847. integer weight = 400
  848. fontcharset fontcharset = gb2312charset!
  849. fontpitch fontpitch = variable!
  850. string facename = "宋体"
  851. long textcolor = 33554432
  852. string text = "="
  853. boolean sorted = false
  854. string item[] = {">","<","=",">=","<=","范围"}
  855. borderstyle borderstyle = stylelowered!
  856. end type
  857. event selectionchanged;IF ddlb_senddate.Text <> "范围" THEN
  858. st_star.Visible = False
  859. st_end.Visible = False
  860. em_2.Visible = False
  861. ELSE
  862. st_star.Visible = True
  863. st_end.Visible = True
  864. em_2.Visible = True
  865. END IF
  866. end event
  867. type st_5 from statictext within w_email_move
  868. integer x = 329
  869. integer y = 1260
  870. integer width = 311
  871. integer height = 88
  872. integer textsize = -9
  873. integer weight = 400
  874. fontcharset fontcharset = gb2312charset!
  875. fontpitch fontpitch = variable!
  876. string facename = "宋体"
  877. long textcolor = 33554432
  878. long backcolor = 67108864
  879. string text = "发送日期"
  880. boolean focusrectangle = false
  881. end type
  882. type ddlb_sendman from dropdownlistbox within w_email_move
  883. integer x = 731
  884. integer y = 764
  885. integer width = 617
  886. integer height = 400
  887. integer taborder = 40
  888. integer textsize = -9
  889. integer weight = 400
  890. fontcharset fontcharset = gb2312charset!
  891. fontpitch fontpitch = variable!
  892. string facename = "宋体"
  893. long textcolor = 33554432
  894. string text = "等于"
  895. string item[] = {"等于",""}
  896. borderstyle borderstyle = stylelowered!
  897. end type
  898. type st_4 from statictext within w_email_move
  899. integer x = 329
  900. integer y = 756
  901. integer width = 187
  902. integer height = 88
  903. integer textsize = -9
  904. integer weight = 400
  905. fontcharset fontcharset = gb2312charset!
  906. fontpitch fontpitch = variable!
  907. string facename = "宋体"
  908. long textcolor = 33554432
  909. long backcolor = 67108864
  910. string text = "发件人"
  911. boolean focusrectangle = false
  912. end type
  913. type cb_2 from commandbutton within w_email_move
  914. integer x = 1888
  915. integer y = 1488
  916. integer width = 471
  917. integer height = 112
  918. integer taborder = 30
  919. integer textsize = -9
  920. integer weight = 400
  921. fontcharset fontcharset = gb2312charset!
  922. fontpitch fontpitch = variable!
  923. string facename = "宋体"
  924. string text = "取消"
  925. end type
  926. event clicked;close(parent)
  927. end event
  928. type cb_1 from commandbutton within w_email_move
  929. integer x = 1431
  930. integer y = 1488
  931. integer width = 443
  932. integer height = 112
  933. integer taborder = 20
  934. integer textsize = -9
  935. integer weight = 400
  936. fontcharset fontcharset = gb2312charset!
  937. fontpitch fontpitch = variable!
  938. string facename = "宋体"
  939. string text = "立即执行"
  940. end type
  941. event clicked;String ls_subject,ls_sendman,ls_sendaddress,ls_senddate,ls_senddate1,ls_choose_revdate,ls_sql1,ls_sql
  942. String ls_choose_subject,ls_choose_sendman
  943. ls_subject = Trim(sle_subject.Text)
  944. ls_sendman = Trim(sle_sendman.Text)
  945. ls_sendaddress= Trim(sle_sendaddress.Text)
  946. ls_senddate = "'" +Trim(em_1.Text) + "'"
  947. ls_senddate1 = "'" +Trim(em_2.Text) + "'"
  948. ls_choose_subject = Trim(ddlb_subject.Text)
  949. ls_choose_sendman = Trim(ddlb_sendman.Text)
  950. ls_choose_revdate = Trim(ddlb_senddate.Text)
  951. ///////////////////////////////////////////////////////////////////////////////////////////////////////////
  952. IF rb_3.Checked = True THEN //满足以下所有条件
  953. IF ls_subject <> "" THEN
  954. IF ls_choose_subject = "包含" THEN
  955. ls_sql = "#1s(subject like '%" + ls_subject + "%')#1e"
  956. ELSEIF ls_choose_subject = "等于" THEN
  957. ls_sql = "#1s(subject = '" + ls_subject + "')#1e"
  958. END IF
  959. END IF
  960. IF ls_sendman <> "" THEN
  961. IF ls_sql <> "" THEN ls_sql = ls_sql + " and "
  962. ls_sql = ls_sql + "#2s(senduser in ( " + ls_sendman + " ) )#2e"
  963. END IF
  964. IF ls_sendaddress <> "" THEN
  965. IF ls_sql <> "" THEN ls_sql = ls_sql + " and "
  966. ls_sql = ls_sql + "#3s(sendaddress in ( " + ls_sendaddress + " ) )#3e"
  967. END IF
  968. IF ls_senddate <> "''" And Date(Trim(em_1.Text)) <> Date("1900-01-01") THEN
  969. IF ls_sql <> "" THEN ls_sql = ls_sql + " and "
  970. IF ls_choose_revdate <> "范围" THEN
  971. ls_sql = ls_sql + "#4s(convert(char(10),revdate,120) " + ls_choose_revdate + ls_senddate + ")#4e"
  972. ELSE
  973. IF Date(Trim(em_2.Text)) <> Date("1900-01-01") THEN
  974. ls_sql = ls_sql + "#4s(convert(char(10),revdate,120) >= " + ls_senddate + " and convert(char(10),revdate,120) <= " + ls_senddate1 + ")#4e"
  975. END IF
  976. END IF
  977. END IF
  978. IF ls_sql <> "" THEN ls_sql = ls_sql + " and mailtype ='收件'"
  979. ELSEIF rb_4.Checked = True THEN //满足以下任意条件
  980. IF ls_subject <> "" THEN
  981. IF ls_choose_subject = "包含" THEN
  982. ls_sql = "#1s(subject like '%" + ls_subject + "%')#1e"
  983. ELSEIF ls_choose_subject = "等于" THEN
  984. ls_sql = "#1s(subject = '" + ls_subject + "')#1e"
  985. END IF
  986. END IF
  987. IF ls_sendman <> "" THEN
  988. IF ls_sql <> "" THEN ls_sql = ls_sql + " or "
  989. ls_sql = ls_sql + "#2s(senduser in ( " + ls_sendman + " ) )#2e"
  990. END IF
  991. IF ls_sendaddress <> "" THEN
  992. IF ls_sql <> "" THEN ls_sql = ls_sql + " or "
  993. ls_sql = ls_sql + "#3s(sendaddress in ( " + ls_sendaddress + " ) )#3e"
  994. END IF
  995. IF ls_senddate <> "''" And Date(Trim(em_1.Text)) <> Date("1900-01-01") THEN
  996. IF ls_sql <> "" THEN ls_sql = ls_sql + " or "
  997. IF ls_choose_revdate <> "范围" THEN
  998. ls_sql = ls_sql + "#4s(convert(char(10),revdate,120) " + ls_choose_revdate + ls_senddate + ")#4e"
  999. ELSE
  1000. IF Date(Trim(em_2.Text)) <> Date("1900-01-01") THEN
  1001. ls_sql = ls_sql + "#4s(convert(char(10),revdate,120) >= " + ls_senddate + " and convert(char(10),revdate,120) <= " + ls_senddate1 + ")#4e"
  1002. END IF
  1003. END IF
  1004. END IF
  1005. IF ls_sql <> "" THEN ls_sql = ls_sql + " and mailtype ='收件'"
  1006. END IF
  1007. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1008. ls_sql1 = ""
  1009. IF rb_1.Checked = True THEN //从收件箱移入到文件夹
  1010. IF ls_sql <> "" THEN
  1011. ls_sql1 = "update u_email_msg set boxid=" + String(tboxid) +" where " + ls_sql + "and boxid=" + String(revboxid)
  1012. END IF
  1013. ELSEIF rb_2.Checked = True THEN //从文件夹移出到收件箱
  1014. IF ls_sql <> "" THEN
  1015. ls_sql1 = "update u_email_msg set boxid=" + String(revboxid) +" where " + ls_sql + "and boxid=" + String(tboxid)
  1016. END IF
  1017. END IF
  1018. ls_sql1=of_globalreplace(ls_sql1,"‘","'")
  1019. ls_sql1=of_globalreplace(ls_sql1,"’","'")
  1020. ls_sql1=of_globalreplace(ls_sql1,",",",")
  1021. ls_sql1=of_globalreplace(ls_sql1,"#1s"," ")
  1022. ls_sql1=of_globalreplace(ls_sql1,"#2s"," ")
  1023. ls_sql1=of_globalreplace(ls_sql1,"#3s"," ")
  1024. ls_sql1=of_globalreplace(ls_sql1,"#4s"," ")
  1025. ls_sql1=of_globalreplace(ls_sql1,"#1e"," ")
  1026. ls_sql1=of_globalreplace(ls_sql1,"#2e"," ")
  1027. ls_sql1=of_globalreplace(ls_sql1,"#3e"," ")
  1028. ls_sql1=of_globalreplace(ls_sql1,"#4e"," ")
  1029. //messagebox("",ls_sql1)
  1030. IF ls_sql1 <> "" THEN
  1031. EXECUTE Immediate :ls_sql1 Using sys_email_sqlca;
  1032. IF sys_email_sqlca.SQLCode <> 0 THEN
  1033. MessageBox("错误" , "移动邮件失败~n"+sys_email_sqlca.SQLErrText)
  1034. GOTO ext
  1035. END IF
  1036. COMMIT;
  1037. ext:
  1038. Close(Parent)
  1039. END IF
  1040. end event
  1041. type sle_subject from singlelineedit within w_email_move
  1042. integer x = 1472
  1043. integer y = 608
  1044. integer width = 800
  1045. integer height = 84
  1046. integer taborder = 20
  1047. integer textsize = -9
  1048. integer weight = 400
  1049. fontcharset fontcharset = gb2312charset!
  1050. fontpitch fontpitch = variable!
  1051. string facename = "宋体"
  1052. long textcolor = 33554432
  1053. borderstyle borderstyle = stylelowered!
  1054. end type
  1055. type ddlb_subject from dropdownlistbox within w_email_move
  1056. integer x = 731
  1057. integer y = 608
  1058. integer width = 617
  1059. integer height = 400
  1060. integer taborder = 10
  1061. integer textsize = -9
  1062. integer weight = 400
  1063. fontcharset fontcharset = gb2312charset!
  1064. fontpitch fontpitch = variable!
  1065. string facename = "宋体"
  1066. long textcolor = 33554432
  1067. string text = "包含"
  1068. string item[] = {"包含","等于"}
  1069. borderstyle borderstyle = stylelowered!
  1070. end type
  1071. type st_3 from statictext within w_email_move
  1072. integer x = 329
  1073. integer y = 608
  1074. integer width = 187
  1075. integer height = 88
  1076. integer textsize = -9
  1077. integer weight = 400
  1078. fontcharset fontcharset = gb2312charset!
  1079. fontpitch fontpitch = variable!
  1080. string facename = "宋体"
  1081. long textcolor = 33554432
  1082. long backcolor = 67108864
  1083. string text = "主题"
  1084. boolean focusrectangle = false
  1085. end type
  1086. type rb_4 from radiobutton within w_email_move
  1087. integer x = 1472
  1088. integer y = 476
  1089. integer width = 695
  1090. integer height = 80
  1091. integer textsize = -9
  1092. integer weight = 400
  1093. fontcharset fontcharset = gb2312charset!
  1094. fontpitch fontpitch = variable!
  1095. string facename = "宋体"
  1096. long textcolor = 33554432
  1097. long backcolor = 67108864
  1098. string text = "满足以下任意条件"
  1099. end type
  1100. type rb_3 from radiobutton within w_email_move
  1101. integer x = 315
  1102. integer y = 472
  1103. integer width = 695
  1104. integer height = 80
  1105. integer textsize = -9
  1106. integer weight = 400
  1107. fontcharset fontcharset = gb2312charset!
  1108. fontpitch fontpitch = variable!
  1109. string facename = "宋体"
  1110. long textcolor = 33554432
  1111. long backcolor = 67108864
  1112. string text = "满足以下所有条件"
  1113. boolean checked = true
  1114. end type
  1115. type st_2 from statictext within w_email_move
  1116. integer x = 105
  1117. integer y = 256
  1118. integer width = 1691
  1119. integer height = 88
  1120. integer textsize = -9
  1121. integer weight = 400
  1122. fontcharset fontcharset = gb2312charset!
  1123. fontpitch fontpitch = variable!
  1124. string facename = "宋体"
  1125. long textcolor = 33554432
  1126. long backcolor = 67108864
  1127. string text = "源文件夹"
  1128. boolean focusrectangle = false
  1129. end type
  1130. type st_1 from statictext within w_email_move
  1131. integer x = 105
  1132. integer y = 140
  1133. integer width = 1691
  1134. integer height = 88
  1135. integer textsize = -9
  1136. integer weight = 400
  1137. fontcharset fontcharset = gb2312charset!
  1138. fontpitch fontpitch = variable!
  1139. string facename = "宋体"
  1140. long textcolor = 33554432
  1141. long backcolor = 67108864
  1142. string text = "目标文件夹"
  1143. boolean focusrectangle = false
  1144. end type
  1145. type gb_1 from groupbox within w_email_move
  1146. integer x = 110
  1147. integer y = 372
  1148. integer width = 2235
  1149. integer height = 1084
  1150. integer taborder = 20
  1151. integer textsize = -9
  1152. integer weight = 400
  1153. fontcharset fontcharset = gb2312charset!
  1154. fontpitch fontpitch = variable!
  1155. string facename = "宋体"
  1156. long textcolor = 33554432
  1157. long backcolor = 67108864
  1158. string text = "条件"
  1159. end type