w_associat_sptcust_set.srw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641
  1. $PBExportHeader$w_associat_sptcust_set.srw
  2. forward
  3. global type w_associat_sptcust_set from w_publ_base
  4. end type
  5. type st_1 from statictext within w_associat_sptcust_set
  6. end type
  7. type st_2 from statictext within w_associat_sptcust_set
  8. end type
  9. type st_3 from statictext within w_associat_sptcust_set
  10. end type
  11. type st_4 from statictext within w_associat_sptcust_set
  12. end type
  13. type sle_1 from singlelineedit within w_associat_sptcust_set
  14. end type
  15. type sle_2 from singlelineedit within w_associat_sptcust_set
  16. end type
  17. type sle_3 from singlelineedit within w_associat_sptcust_set
  18. end type
  19. type sle_4 from singlelineedit within w_associat_sptcust_set
  20. end type
  21. type cb_1 from uo_imflatbutton within w_associat_sptcust_set
  22. end type
  23. type cb_2 from uo_imflatbutton within w_associat_sptcust_set
  24. end type
  25. type cb_3 from uo_imflatbutton within w_associat_sptcust_set
  26. end type
  27. type cb_4 from uo_imflatbutton within w_associat_sptcust_set
  28. end type
  29. type cb_5 from uo_imflatbutton within w_associat_sptcust_set
  30. end type
  31. type st_5 from statictext within w_associat_sptcust_set
  32. end type
  33. type st_6 from statictext within w_associat_sptcust_set
  34. end type
  35. type dw_1 from datawindow within w_associat_sptcust_set
  36. end type
  37. type dw_2 from datawindow within w_associat_sptcust_set
  38. end type
  39. type sle_5 from singlelineedit within w_associat_sptcust_set
  40. end type
  41. type sle_6 from singlelineedit within w_associat_sptcust_set
  42. end type
  43. type sle_7 from singlelineedit within w_associat_sptcust_set
  44. end type
  45. type sle_8 from singlelineedit within w_associat_sptcust_set
  46. end type
  47. end forward
  48. global type w_associat_sptcust_set from w_publ_base
  49. integer width = 1847
  50. integer height = 1048
  51. string title = "往来对冲相关资料设置"
  52. st_1 st_1
  53. st_2 st_2
  54. st_3 st_3
  55. st_4 st_4
  56. sle_1 sle_1
  57. sle_2 sle_2
  58. sle_3 sle_3
  59. sle_4 sle_4
  60. cb_1 cb_1
  61. cb_2 cb_2
  62. cb_3 cb_3
  63. cb_4 cb_4
  64. cb_5 cb_5
  65. st_5 st_5
  66. st_6 st_6
  67. dw_1 dw_1
  68. dw_2 dw_2
  69. sle_5 sle_5
  70. sle_6 sle_6
  71. sle_7 sle_7
  72. sle_8 sle_8
  73. end type
  74. global w_associat_sptcust_set w_associat_sptcust_set
  75. forward prototypes
  76. public subroutine wf_getitemid (integer ai_num)
  77. public subroutine wf_getmtrlid (integer ai_num)
  78. public function string wf_getname (integer ai_id, integer ai_type)
  79. end prototypes
  80. public subroutine wf_getitemid (integer ai_num);String ls_itemcode
  81. long ll_itemid
  82. if ai_num = 1 then
  83. // ls_itemcode = sle_1.text
  84. ll_itemid=long( sle_1.text)
  85. elseif ai_num =2 then
  86. // ls_itemcode = sle_2.text
  87. ll_itemid=long( sle_2.text)
  88. end if
  89. IF NOT IsValid(w_itemdef_ch) THEN
  90. s_edit_index_tran s_ch_tran //传递参数使用
  91. s_ch_tran.if_retrieve_all = local_retrieve_all //是否一次retrieve所有行
  92. s_ch_tran.work_mode = 1 //0-单纯编辑模式 1-选择\编辑模式
  93. s_ch_tran.arg_pkid = 0 //目标定位pkid (备用)
  94. //s_ch_tran.arg_string_code = ls_itemcode //查询列(物料编码)部分内容,用于初步筛选
  95. OpenWithParm(w_itemdef_ch,s_ch_tran) //调用
  96. s_itemdef s_inscust
  97. s_inscust = Message.PowerObjectParm //接受返回结构
  98. IF s_inscust.itemid > 0 THEN //正常返回值则可以取以下值
  99. if ai_num = 1 then
  100. sle_1.text = string(s_inscust.itemid)
  101. sle_5.text = string(s_inscust.itemname )
  102. elseif ai_num =2 then
  103. sle_2.text = string(s_inscust.itemid)
  104. sle_6.text = string(s_inscust.itemname )
  105. end if
  106. // s_inscust.itemcode
  107. // s_inscust.itemname
  108. END IF
  109. END IF
  110. end subroutine
  111. public subroutine wf_getmtrlid (integer ai_num);Long ls_j
  112. s_edit_index_tran s_ch_tran //传递参数使用
  113. s_mtrldef_array S_INSCUST
  114. if ai_num = 1 then
  115. IF NOT IsValid(w_expensesdef_spt) THEN
  116. s_ch_tran.if_retrieve_all = FALSE //是否一次RETRIEVE所有行
  117. s_ch_tran.work_mode = 1 //0-单纯编辑模式 1-选择\编辑模式
  118. s_ch_tran.arg_pkid = 0 //目标定位PKID (备用)
  119. // s_ch_tran.arg_string_code = '' //查询列(物料编码)部分内容,用于初步筛选
  120. s_ch_tran.if_select_all = TRUE
  121. s_ch_tran.b_long = -1
  122. //s_ch_tran.arg_string_code = sle_3.text
  123. OpenWithParm(w_expensesdef_spt,s_ch_tran)
  124. S_INSCUST = Message.PowerObjectParm
  125. FOR ls_j = 1 TO UpperBound(S_INSCUST.mtrlid) //多个取最后一个2018-08-05
  126. IF S_INSCUST.mtrlid[ls_j] > 0 THEN
  127. sle_3.text =string( S_INSCUST.mtrlid[ls_j])
  128. sle_7.text =string( S_INSCUST.mtrlname[ls_j])
  129. // sle_3.text = S_INSCUST.mtrlcode[ls_j]
  130. // sle_3.text =S_INSCUST.mtrlname[ls_j]
  131. END IF
  132. NEXT
  133. END IF
  134. elseif ai_num = 2 then
  135. IF NOT IsValid(w_expensesdef) THEN
  136. // s_edit_index_tran s_ch_tran //传递参数使用
  137. s_ch_tran.if_retrieve_all = FALSE //是否一次RETRIEVE所有行
  138. s_ch_tran.work_mode = 1 //0-单纯编辑模式 1-选择\编辑模式
  139. s_ch_tran.arg_pkid = 0 //目标定位PKID (备用)
  140. s_ch_tran.arg_string_code = '' //查询列(物料编码)部分内容,用于初步筛选
  141. s_ch_tran.if_select_all = TRUE
  142. s_ch_tran.b_long = -1
  143. //s_ch_tran.arg_string_code = sle_4.text
  144. OpenWithParm(w_expensesdef,s_ch_tran)
  145. // s_mtrldef_array S_INSCUST
  146. S_INSCUST = Message.PowerObjectParm
  147. FOR ls_j = 1 TO UpperBound(S_INSCUST.mtrlid)
  148. IF S_INSCUST.mtrlid[ls_j] > 0 THEN
  149. sle_4.text = string(S_INSCUST.mtrlid[ls_j])
  150. sle_8.text =string( S_INSCUST.mtrlname[ls_j])
  151. // sle_4.text = S_INSCUST.mtrlcode[ls_j]
  152. // sle_4.text = S_INSCUST.mtrlname[ls_j]
  153. END IF
  154. NEXT
  155. END IF
  156. end if
  157. end subroutine
  158. public function string wf_getname (integer ai_id, integer ai_type);string ls_name
  159. if ai_type = 1 then
  160. SELECT
  161. U_Expenses.ExpensesName into :ls_name
  162. FROM U_Expenses
  163. where U_Expenses.Expensestype = 1
  164. and ExpensesID = :ai_id ;
  165. elseif ai_type = 0 then
  166. SELECT
  167. U_Expenses.ExpensesName into :ls_name
  168. FROM U_Expenses
  169. where U_Expenses.Expensestype = 0
  170. and ExpensesID = :ai_id ;
  171. else
  172. SELECT
  173. u_itemdef.itemname into :ls_name
  174. FROM u_itemdef
  175. where u_itemdef.itemid = :ai_id ;
  176. end if
  177. if isnull(ls_name ) then ls_name = ''
  178. return ls_name
  179. end function
  180. on w_associat_sptcust_set.create
  181. int iCurrent
  182. call super::create
  183. this.st_1=create st_1
  184. this.st_2=create st_2
  185. this.st_3=create st_3
  186. this.st_4=create st_4
  187. this.sle_1=create sle_1
  188. this.sle_2=create sle_2
  189. this.sle_3=create sle_3
  190. this.sle_4=create sle_4
  191. this.cb_1=create cb_1
  192. this.cb_2=create cb_2
  193. this.cb_3=create cb_3
  194. this.cb_4=create cb_4
  195. this.cb_5=create cb_5
  196. this.st_5=create st_5
  197. this.st_6=create st_6
  198. this.dw_1=create dw_1
  199. this.dw_2=create dw_2
  200. this.sle_5=create sle_5
  201. this.sle_6=create sle_6
  202. this.sle_7=create sle_7
  203. this.sle_8=create sle_8
  204. iCurrent=UpperBound(this.Control)
  205. this.Control[iCurrent+1]=this.st_1
  206. this.Control[iCurrent+2]=this.st_2
  207. this.Control[iCurrent+3]=this.st_3
  208. this.Control[iCurrent+4]=this.st_4
  209. this.Control[iCurrent+5]=this.sle_1
  210. this.Control[iCurrent+6]=this.sle_2
  211. this.Control[iCurrent+7]=this.sle_3
  212. this.Control[iCurrent+8]=this.sle_4
  213. this.Control[iCurrent+9]=this.cb_1
  214. this.Control[iCurrent+10]=this.cb_2
  215. this.Control[iCurrent+11]=this.cb_3
  216. this.Control[iCurrent+12]=this.cb_4
  217. this.Control[iCurrent+13]=this.cb_5
  218. this.Control[iCurrent+14]=this.st_5
  219. this.Control[iCurrent+15]=this.st_6
  220. this.Control[iCurrent+16]=this.dw_1
  221. this.Control[iCurrent+17]=this.dw_2
  222. this.Control[iCurrent+18]=this.sle_5
  223. this.Control[iCurrent+19]=this.sle_6
  224. this.Control[iCurrent+20]=this.sle_7
  225. this.Control[iCurrent+21]=this.sle_8
  226. end on
  227. on w_associat_sptcust_set.destroy
  228. call super::destroy
  229. destroy(this.st_1)
  230. destroy(this.st_2)
  231. destroy(this.st_3)
  232. destroy(this.st_4)
  233. destroy(this.sle_1)
  234. destroy(this.sle_2)
  235. destroy(this.sle_3)
  236. destroy(this.sle_4)
  237. destroy(this.cb_1)
  238. destroy(this.cb_2)
  239. destroy(this.cb_3)
  240. destroy(this.cb_4)
  241. destroy(this.cb_5)
  242. destroy(this.st_5)
  243. destroy(this.st_6)
  244. destroy(this.dw_1)
  245. destroy(this.dw_2)
  246. destroy(this.sle_5)
  247. destroy(this.sle_6)
  248. destroy(this.sle_7)
  249. destroy(this.sle_8)
  250. end on
  251. event open;call super::open;sle_1.text = f_ProfileString(0,spt_itemid, "spt_itemid", '0')
  252. sle_2.text = f_ProfileString (0,cus_itemid, "cus_itemid", '0')
  253. sle_3.text = f_ProfileString(0,spt_mtrlid, "spt_mtrlid", '0')
  254. sle_4.text = f_ProfileString (0,cus_mtrlid, "cus_mtrlid", '0')
  255. dw_1 .SetTransObject (sqlca)
  256. dw_2 .SetTransObject (sqlca)
  257. dw_1.insertrow(0)
  258. dw_2.insertrow(0)
  259. dw_1.object.relid[1] =long( f_ProfileString (0,spt_relid, "spt_relid", '0') )
  260. dw_2.object.relid[1] =long( f_ProfileString (0,cus_relid, "cus_relid", '0') )
  261. sle_5.text = wf_getname(long(sle_1.text) ,3)
  262. sle_6.text = wf_getname(long(sle_2.text) ,3)
  263. sle_7.text = wf_getname(long(sle_3.text) ,1)
  264. sle_8.text = wf_getname(long(sle_4.text) ,0)
  265. end event
  266. type cb_func from w_publ_base`cb_func within w_associat_sptcust_set
  267. boolean visible = false
  268. end type
  269. type cb_exit from w_publ_base`cb_exit within w_associat_sptcust_set
  270. integer x = 1029
  271. integer y = 804
  272. end type
  273. type st_1 from statictext within w_associat_sptcust_set
  274. integer x = 23
  275. integer y = 24
  276. integer width = 521
  277. integer height = 72
  278. boolean bringtotop = true
  279. integer textsize = -9
  280. integer weight = 400
  281. fontcharset fontcharset = gb2312charset!
  282. fontpitch fontpitch = variable!
  283. string facename = "宋体"
  284. long textcolor = 33554432
  285. long backcolor = 134217739
  286. string text = "收支项目(供应商)"
  287. alignment alignment = right!
  288. boolean focusrectangle = false
  289. end type
  290. type st_2 from statictext within w_associat_sptcust_set
  291. integer x = 23
  292. integer y = 156
  293. integer width = 521
  294. integer height = 72
  295. boolean bringtotop = true
  296. integer textsize = -9
  297. integer weight = 400
  298. fontcharset fontcharset = gb2312charset!
  299. fontpitch fontpitch = variable!
  300. string facename = "宋体"
  301. long textcolor = 33554432
  302. long backcolor = 134217739
  303. string text = "收支项目(客户)"
  304. alignment alignment = right!
  305. boolean focusrectangle = false
  306. end type
  307. type st_3 from statictext within w_associat_sptcust_set
  308. integer x = 23
  309. integer y = 288
  310. integer width = 521
  311. integer height = 72
  312. boolean bringtotop = true
  313. integer textsize = -9
  314. integer weight = 400
  315. fontcharset fontcharset = gb2312charset!
  316. fontpitch fontpitch = variable!
  317. string facename = "宋体"
  318. long textcolor = 33554432
  319. long backcolor = 134217739
  320. string text = "供应商费用项目"
  321. alignment alignment = right!
  322. boolean focusrectangle = false
  323. end type
  324. type st_4 from statictext within w_associat_sptcust_set
  325. integer x = 23
  326. integer y = 420
  327. integer width = 521
  328. integer height = 72
  329. boolean bringtotop = true
  330. integer textsize = -9
  331. integer weight = 400
  332. fontcharset fontcharset = gb2312charset!
  333. fontpitch fontpitch = variable!
  334. string facename = "宋体"
  335. long textcolor = 33554432
  336. long backcolor = 134217739
  337. string text = "客户费用项目"
  338. alignment alignment = right!
  339. boolean focusrectangle = false
  340. end type
  341. type sle_1 from singlelineedit within w_associat_sptcust_set
  342. boolean visible = false
  343. integer x = 773
  344. integer y = 124
  345. integer width = 731
  346. integer height = 104
  347. integer taborder = 20
  348. boolean bringtotop = true
  349. integer textsize = -12
  350. integer weight = 400
  351. fontcharset fontcharset = ansi!
  352. fontpitch fontpitch = variable!
  353. fontfamily fontfamily = swiss!
  354. string facename = "Arial"
  355. long textcolor = 33554432
  356. boolean enabled = false
  357. borderstyle borderstyle = stylelowered!
  358. end type
  359. type sle_2 from singlelineedit within w_associat_sptcust_set
  360. boolean visible = false
  361. integer x = 773
  362. integer y = 252
  363. integer width = 731
  364. integer height = 104
  365. integer taborder = 30
  366. boolean bringtotop = true
  367. integer textsize = -12
  368. integer weight = 400
  369. fontcharset fontcharset = ansi!
  370. fontpitch fontpitch = variable!
  371. fontfamily fontfamily = swiss!
  372. string facename = "Arial"
  373. long textcolor = 33554432
  374. boolean enabled = false
  375. borderstyle borderstyle = stylelowered!
  376. end type
  377. type sle_3 from singlelineedit within w_associat_sptcust_set
  378. boolean visible = false
  379. integer x = 773
  380. integer y = 380
  381. integer width = 731
  382. integer height = 104
  383. integer taborder = 40
  384. boolean bringtotop = true
  385. integer textsize = -12
  386. integer weight = 400
  387. fontcharset fontcharset = ansi!
  388. fontpitch fontpitch = variable!
  389. fontfamily fontfamily = swiss!
  390. string facename = "Arial"
  391. long textcolor = 33554432
  392. boolean enabled = false
  393. borderstyle borderstyle = stylelowered!
  394. end type
  395. type sle_4 from singlelineedit within w_associat_sptcust_set
  396. boolean visible = false
  397. integer x = 773
  398. integer y = 508
  399. integer width = 731
  400. integer height = 104
  401. integer taborder = 40
  402. boolean bringtotop = true
  403. integer textsize = -12
  404. integer weight = 400
  405. fontcharset fontcharset = ansi!
  406. fontpitch fontpitch = variable!
  407. fontfamily fontfamily = swiss!
  408. string facename = "Arial"
  409. long textcolor = 33554432
  410. boolean enabled = false
  411. borderstyle borderstyle = stylelowered!
  412. end type
  413. type cb_1 from uo_imflatbutton within w_associat_sptcust_set
  414. integer x = 384
  415. integer y = 804
  416. integer height = 96
  417. integer taborder = 20
  418. boolean bringtotop = true
  419. end type
  420. event clicked;call super::clicked;f_SetProfileString(0,spt_itemid, "spt_itemid", sle_1.text )
  421. f_SetProfileString(0,cus_itemid, "cus_itemid", sle_2.text )
  422. f_SetProfileString(0,spt_mtrlid, "spt_mtrlid", sle_3.text )
  423. f_SetProfileString(0,cus_mtrlid, "cus_mtrlid", sle_4.text )
  424. f_SetProfileString(0,spt_relid, "spt_relid",string(dw_1.object.relid[1]))
  425. f_SetProfileString(0,cus_relid, "cus_relid",string(dw_2.object.relid[1]))
  426. close(parent)
  427. end event
  428. type cb_2 from uo_imflatbutton within w_associat_sptcust_set
  429. integer x = 1403
  430. integer y = 12
  431. integer taborder = 30
  432. boolean bringtotop = true
  433. string text = "选择"
  434. end type
  435. event clicked;call super::clicked; wf_getitemid(1)
  436. end event
  437. type cb_3 from uo_imflatbutton within w_associat_sptcust_set
  438. integer x = 1403
  439. integer y = 152
  440. integer taborder = 40
  441. boolean bringtotop = true
  442. string text = "选择"
  443. end type
  444. event clicked;call super::clicked; wf_getitemid(2)
  445. end event
  446. type cb_4 from uo_imflatbutton within w_associat_sptcust_set
  447. integer x = 1403
  448. integer y = 280
  449. integer taborder = 50
  450. boolean bringtotop = true
  451. string text = "选择"
  452. end type
  453. event clicked;call super::clicked;wf_getmtrlid(1)
  454. end event
  455. type cb_5 from uo_imflatbutton within w_associat_sptcust_set
  456. integer x = 1403
  457. integer y = 420
  458. integer taborder = 50
  459. boolean bringtotop = true
  460. string text = "选择"
  461. end type
  462. event clicked;call super::clicked;wf_getmtrlid(2)
  463. end event
  464. type st_5 from statictext within w_associat_sptcust_set
  465. integer x = 23
  466. integer y = 552
  467. integer width = 521
  468. integer height = 72
  469. boolean bringtotop = true
  470. integer textsize = -9
  471. integer weight = 400
  472. fontcharset fontcharset = gb2312charset!
  473. fontpitch fontpitch = variable!
  474. string facename = "宋体"
  475. long textcolor = 33554432
  476. long backcolor = 134217739
  477. string text = "结算方式(客户)"
  478. alignment alignment = right!
  479. boolean focusrectangle = false
  480. end type
  481. type st_6 from statictext within w_associat_sptcust_set
  482. integer x = 23
  483. integer y = 684
  484. integer width = 521
  485. integer height = 72
  486. boolean bringtotop = true
  487. integer textsize = -9
  488. integer weight = 400
  489. fontcharset fontcharset = gb2312charset!
  490. fontpitch fontpitch = variable!
  491. string facename = "宋体"
  492. long textcolor = 33554432
  493. long backcolor = 134217739
  494. string text = "结算方式(供应商)"
  495. alignment alignment = right!
  496. boolean focusrectangle = false
  497. end type
  498. type dw_1 from datawindow within w_associat_sptcust_set
  499. integer x = 594
  500. integer y = 544
  501. integer width = 731
  502. integer height = 104
  503. integer taborder = 60
  504. boolean bringtotop = true
  505. string title = "none"
  506. string dataobject = "dw_associat_sptcust_set_relid"
  507. boolean livescroll = true
  508. borderstyle borderstyle = stylelowered!
  509. end type
  510. type dw_2 from datawindow within w_associat_sptcust_set
  511. integer x = 594
  512. integer y = 668
  513. integer width = 731
  514. integer height = 104
  515. integer taborder = 70
  516. boolean bringtotop = true
  517. string title = "none"
  518. string dataobject = "dw_associat_sptcust_set_relid"
  519. boolean livescroll = true
  520. borderstyle borderstyle = stylelowered!
  521. end type
  522. type sle_5 from singlelineedit within w_associat_sptcust_set
  523. integer x = 594
  524. integer y = 8
  525. integer width = 731
  526. integer height = 104
  527. integer taborder = 30
  528. boolean bringtotop = true
  529. integer textsize = -9
  530. integer weight = 400
  531. fontcharset fontcharset = gb2312charset!
  532. fontpitch fontpitch = variable!
  533. string facename = "宋体"
  534. long textcolor = 33554432
  535. boolean enabled = false
  536. borderstyle borderstyle = stylelowered!
  537. end type
  538. type sle_6 from singlelineedit within w_associat_sptcust_set
  539. integer x = 594
  540. integer y = 136
  541. integer width = 731
  542. integer height = 104
  543. integer taborder = 40
  544. boolean bringtotop = true
  545. integer textsize = -9
  546. integer weight = 400
  547. fontcharset fontcharset = gb2312charset!
  548. fontpitch fontpitch = variable!
  549. string facename = "宋体"
  550. long textcolor = 33554432
  551. boolean enabled = false
  552. borderstyle borderstyle = stylelowered!
  553. end type
  554. type sle_7 from singlelineedit within w_associat_sptcust_set
  555. integer x = 594
  556. integer y = 264
  557. integer width = 731
  558. integer height = 104
  559. integer taborder = 50
  560. boolean bringtotop = true
  561. integer textsize = -9
  562. integer weight = 400
  563. fontcharset fontcharset = gb2312charset!
  564. fontpitch fontpitch = variable!
  565. string facename = "宋体"
  566. long textcolor = 33554432
  567. boolean enabled = false
  568. borderstyle borderstyle = stylelowered!
  569. end type
  570. type sle_8 from singlelineedit within w_associat_sptcust_set
  571. integer x = 594
  572. integer y = 392
  573. integer width = 731
  574. integer height = 104
  575. integer taborder = 50
  576. boolean bringtotop = true
  577. integer textsize = -9
  578. integer weight = 400
  579. fontcharset fontcharset = gb2312charset!
  580. fontpitch fontpitch = variable!
  581. string facename = "宋体"
  582. long textcolor = 33554432
  583. boolean enabled = false
  584. borderstyle borderstyle = stylelowered!
  585. end type