EncoderPlayground.dfm 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633
  1. object formEncoderPlayground: TformEncoderPlayground
  2. Left = 567
  3. Top = 135
  4. Width = 982
  5. Height = 695
  6. Caption = 'Encoder Playground'
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'MS Sans Serif'
  12. Font.Style = []
  13. Menu = MainMenu1
  14. OldCreateOrder = False
  15. OnCreate = FormCreate
  16. PixelsPerInch = 96
  17. TextHeight = 13
  18. object Splitter1: TSplitter
  19. Left = 225
  20. Top = 29
  21. Width = 8
  22. Height = 612
  23. Beveled = True
  24. end
  25. object lboxMessages: TListBox
  26. Left = 0
  27. Top = 29
  28. Width = 225
  29. Height = 612
  30. Align = alLeft
  31. Font.Charset = RUSSIAN_CHARSET
  32. Font.Color = clWindowText
  33. Font.Height = -11
  34. Font.Name = 'Courier New'
  35. Font.Style = []
  36. ItemHeight = 14
  37. ParentFont = False
  38. PopupMenu = PopupMenu1
  39. Sorted = True
  40. TabOrder = 0
  41. OnDblClick = lboxMessagesDblClick
  42. end
  43. object ToolBar1: TToolBar
  44. Left = 0
  45. Top = 0
  46. Width = 974
  47. Height = 29
  48. Caption = 'ToolBar1'
  49. TabOrder = 1
  50. object ToolButton1: TToolButton
  51. Left = 0
  52. Top = 2
  53. Action = actnTest_Test
  54. end
  55. end
  56. object Panel2: TPanel
  57. Left = 233
  58. Top = 29
  59. Width = 741
  60. Height = 612
  61. Align = alClient
  62. BevelOuter = bvNone
  63. TabOrder = 2
  64. object Panel1: TPanel
  65. Left = 0
  66. Top = 0
  67. Width = 741
  68. Height = 337
  69. Align = alTop
  70. TabOrder = 0
  71. object Label1: TLabel
  72. Left = 8
  73. Top = 24
  74. Width = 45
  75. Height = 13
  76. Caption = 'Filename:'
  77. end
  78. object lablFilename: TLabel
  79. Left = 80
  80. Top = 24
  81. Width = 36
  82. Height = 13
  83. Caption = '<none>'
  84. end
  85. object Label4: TLabel
  86. Left = 8
  87. Top = 40
  88. Width = 30
  89. Height = 13
  90. Caption = 'Errors:'
  91. end
  92. object lablErrors: TLabel
  93. Left = 80
  94. Top = 40
  95. Width = 26
  96. Height = 13
  97. Caption = 'None'
  98. end
  99. object Label5: TLabel
  100. Left = 8
  101. Top = 8
  102. Width = 702
  103. Height = 13
  104. Caption =
  105. 'Either double-click a test from the left or create a message usi' +
  106. 'ng the controls below whose names generally correspond to the TI' +
  107. 'dMessage variables..'
  108. end
  109. object Panel3: TPanel
  110. Left = 1
  111. Top = 62
  112. Width = 739
  113. Height = 274
  114. Align = alBottom
  115. TabOrder = 0
  116. object Bevel3: TBevel
  117. Left = 500
  118. Top = 220
  119. Width = 229
  120. Height = 49
  121. end
  122. object Label2: TLabel
  123. Left = 12
  124. Top = 14
  125. Width = 51
  126. Height = 13
  127. Caption = '.Body.Text'
  128. end
  129. object Label3: TLabel
  130. Left = 16
  131. Top = 114
  132. Width = 124
  133. Height = 13
  134. Caption = '.ContentTransferEncoding'
  135. end
  136. object Label6: TLabel
  137. Left = 12
  138. Top = 138
  139. Width = 309
  140. Height = 13
  141. Caption =
  142. '(this is outputted in the headers and applied to the message bod' +
  143. 'y)'
  144. end
  145. object Label7: TLabel
  146. Left = 18
  147. Top = 158
  148. Width = 84
  149. Height = 13
  150. Caption = '.ConvertPreamble'
  151. end
  152. object Label8: TLabel
  153. Left = 10
  154. Top = 216
  155. Width = 337
  156. Height = 19
  157. AutoSize = False
  158. Caption = 'Note: "Default" means this code does not set the value.'
  159. WordWrap = True
  160. end
  161. object Label9: TLabel
  162. Left = 362
  163. Top = 18
  164. Width = 73
  165. Height = 13
  166. Caption = '.MessageParts:'
  167. end
  168. object Label10: TLabel
  169. Left = 364
  170. Top = 98
  171. Width = 52
  172. Height = 13
  173. Caption = 'File to add:'
  174. end
  175. object Label11: TLabel
  176. Left = 362
  177. Top = 160
  178. Width = 79
  179. Height = 13
  180. Caption = '.ContentTransfer'
  181. end
  182. object Label12: TLabel
  183. Left = 32
  184. Top = 246
  185. Width = 48
  186. Height = 13
  187. Caption = '.Encoding'
  188. end
  189. object Bevel1: TBevel
  190. Left = 8
  191. Top = 8
  192. Width = 339
  193. Height = 201
  194. end
  195. object Bevel2: TBevel
  196. Left = 354
  197. Top = 8
  198. Width = 375
  199. Height = 203
  200. end
  201. object Label13: TLabel
  202. Left = 610
  203. Top = 224
  204. Width = 53
  205. Height = 13
  206. Caption = 'Test name:'
  207. end
  208. object Label14: TLabel
  209. Left = 366
  210. Top = 186
  211. Width = 64
  212. Height = 13
  213. Caption = '.ContentType'
  214. end
  215. object Label15: TLabel
  216. Left = 610
  217. Top = 162
  218. Width = 53
  219. Height = 13
  220. Caption = '.ParentPart'
  221. end
  222. object Label16: TLabel
  223. Left = 24
  224. Top = 182
  225. Width = 64
  226. Height = 13
  227. Caption = '.ContentType'
  228. end
  229. object Memo1: TMemo
  230. Left = 76
  231. Top = 16
  232. Width = 265
  233. Height = 89
  234. Color = clBlack
  235. Font.Charset = DEFAULT_CHARSET
  236. Font.Color = clLime
  237. Font.Height = -11
  238. Font.Name = 'MS Sans Serif'
  239. Font.Style = []
  240. Lines.Strings = (
  241. 'Memo1')
  242. ParentFont = False
  243. ScrollBars = ssBoth
  244. TabOrder = 0
  245. WordWrap = False
  246. end
  247. object ComboBox1: TComboBox
  248. Left = 154
  249. Top = 110
  250. Width = 145
  251. Height = 21
  252. Style = csDropDownList
  253. Color = clBlack
  254. Font.Charset = DEFAULT_CHARSET
  255. Font.Color = clLime
  256. Font.Height = -11
  257. Font.Name = 'MS Sans Serif'
  258. Font.Style = []
  259. ItemHeight = 13
  260. ParentFont = False
  261. TabOrder = 1
  262. end
  263. object ComboBox2: TComboBox
  264. Left = 152
  265. Top = 156
  266. Width = 145
  267. Height = 21
  268. Style = csDropDownList
  269. Color = clBlack
  270. Font.Charset = DEFAULT_CHARSET
  271. Font.Color = clLime
  272. Font.Height = -11
  273. Font.Name = 'MS Sans Serif'
  274. Font.Style = []
  275. ItemHeight = 13
  276. ParentFont = False
  277. TabOrder = 2
  278. end
  279. object ListBox1: TListBox
  280. Left = 362
  281. Top = 36
  282. Width = 353
  283. Height = 55
  284. Color = clBlack
  285. Font.Charset = DEFAULT_CHARSET
  286. Font.Color = clLime
  287. Font.Height = -11
  288. Font.Name = 'MS Sans Serif'
  289. Font.Style = []
  290. ItemHeight = 13
  291. ParentFont = False
  292. TabOrder = 3
  293. OnClick = ListBox1Click
  294. end
  295. object Edit1: TEdit
  296. Left = 424
  297. Top = 96
  298. Width = 233
  299. Height = 21
  300. Color = clBlack
  301. Font.Charset = DEFAULT_CHARSET
  302. Font.Color = clLime
  303. Font.Height = -11
  304. Font.Name = 'MS Sans Serif'
  305. Font.Style = []
  306. ParentFont = False
  307. TabOrder = 4
  308. Text = 'Edit1'
  309. OnChange = Edit1Change
  310. end
  311. object Button2: TButton
  312. Left = 660
  313. Top = 96
  314. Width = 53
  315. Height = 21
  316. Caption = 'Browse'
  317. TabOrder = 5
  318. OnClick = Button2Click
  319. end
  320. object Button3: TButton
  321. Left = 584
  322. Top = 16
  323. Width = 129
  324. Height = 21
  325. Caption = 'Delete selected part'
  326. TabOrder = 6
  327. OnClick = Button3Click
  328. end
  329. object RadioGroup1: TRadioGroup
  330. Left = 358
  331. Top = 122
  332. Width = 357
  333. Height = 33
  334. Caption = 'Type of attachment (if TIdText, file should be a text file)'
  335. Columns = 2
  336. ItemIndex = 0
  337. Items.Strings = (
  338. 'TIdAttachment'
  339. 'TIdText')
  340. TabOrder = 7
  341. end
  342. object ComboBox3: TComboBox
  343. Left = 454
  344. Top = 158
  345. Width = 137
  346. Height = 21
  347. Style = csDropDownList
  348. Color = clBlack
  349. Font.Charset = DEFAULT_CHARSET
  350. Font.Color = clLime
  351. Font.Height = -11
  352. Font.Name = 'MS Sans Serif'
  353. Font.Style = []
  354. ItemHeight = 13
  355. ParentFont = False
  356. TabOrder = 8
  357. end
  358. object Button4: TButton
  359. Left = 620
  360. Top = 182
  361. Width = 89
  362. Height = 21
  363. Caption = 'Add part'
  364. TabOrder = 9
  365. OnClick = Button4Click
  366. end
  367. object ComboBox4: TComboBox
  368. Left = 88
  369. Top = 242
  370. Width = 145
  371. Height = 21
  372. Style = csDropDownList
  373. Color = clBlack
  374. Font.Charset = DEFAULT_CHARSET
  375. Font.Color = clLime
  376. Font.Height = -11
  377. Font.Name = 'MS Sans Serif'
  378. Font.Style = []
  379. ItemHeight = 13
  380. ParentFont = False
  381. TabOrder = 10
  382. end
  383. object Button5: TButton
  384. Left = 508
  385. Top = 226
  386. Width = 95
  387. Height = 25
  388. Caption = 'Make into a test'
  389. TabOrder = 11
  390. OnClick = Button5Click
  391. end
  392. object Button1: TButton
  393. Left = 242
  394. Top = 238
  395. Width = 123
  396. Height = 25
  397. Caption = 'Generate email'
  398. Font.Charset = DEFAULT_CHARSET
  399. Font.Color = clWindowText
  400. Font.Height = -11
  401. Font.Name = 'MS Sans Serif'
  402. Font.Style = [fsBold]
  403. ParentFont = False
  404. TabOrder = 12
  405. OnClick = Button1Click
  406. end
  407. object Edit2: TEdit
  408. Left = 608
  409. Top = 240
  410. Width = 113
  411. Height = 21
  412. TabOrder = 13
  413. end
  414. object Button6: TButton
  415. Left = 16
  416. Top = 40
  417. Width = 51
  418. Height = 25
  419. Caption = 'Sample'
  420. TabOrder = 14
  421. OnClick = Button6Click
  422. end
  423. object Button8: TButton
  424. Left = 372
  425. Top = 238
  426. Width = 123
  427. Height = 25
  428. Caption = 'Send email somewhere'
  429. Font.Charset = DEFAULT_CHARSET
  430. Font.Color = clWindowText
  431. Font.Height = -11
  432. Font.Name = 'MS Sans Serif'
  433. Font.Style = []
  434. ParentFont = False
  435. TabOrder = 15
  436. OnClick = Button8Click
  437. end
  438. object ComboBox5: TComboBox
  439. Left = 454
  440. Top = 182
  441. Width = 137
  442. Height = 21
  443. Style = csDropDownList
  444. Color = clBlack
  445. Font.Charset = DEFAULT_CHARSET
  446. Font.Color = clLime
  447. Font.Height = -11
  448. Font.Name = 'MS Sans Serif'
  449. Font.Style = []
  450. ItemHeight = 13
  451. ParentFont = False
  452. TabOrder = 16
  453. end
  454. object SpinEdit1: TSpinEdit
  455. Left = 676
  456. Top = 158
  457. Width = 39
  458. Height = 22
  459. MaxValue = 99
  460. MinValue = -1
  461. TabOrder = 17
  462. Value = -1
  463. end
  464. object Edit3: TEdit
  465. Left = 152
  466. Top = 182
  467. Width = 181
  468. Height = 21
  469. Color = clBlack
  470. Font.Charset = DEFAULT_CHARSET
  471. Font.Color = clLime
  472. Font.Height = -11
  473. Font.Name = 'MS Sans Serif'
  474. Font.Style = []
  475. ParentFont = False
  476. TabOrder = 18
  477. end
  478. end
  479. object Button7: TButton
  480. Left = 288
  481. Top = 276
  482. Width = 125
  483. Height = 21
  484. Caption = 'Reset fields to defaults'
  485. TabOrder = 1
  486. OnClick = Button7Click
  487. end
  488. end
  489. object pctlMessage: TPageControl
  490. Left = 0
  491. Top = 337
  492. Width = 741
  493. Height = 275
  494. ActivePage = TabSheet1
  495. Align = alClient
  496. TabOrder = 1
  497. object TabSheet1: TTabSheet
  498. Caption = 'Resultant raw message'
  499. ImageIndex = 1
  500. object memoRaw: TMemo
  501. Left = 0
  502. Top = 0
  503. Width = 733
  504. Height = 247
  505. Align = alClient
  506. Font.Charset = DEFAULT_CHARSET
  507. Font.Color = clWindowText
  508. Font.Height = -11
  509. Font.Name = 'Courier New'
  510. Font.Style = []
  511. ParentFont = False
  512. ReadOnly = True
  513. ScrollBars = ssBoth
  514. TabOrder = 0
  515. WordWrap = False
  516. end
  517. end
  518. object TabSheet2: TTabSheet
  519. Caption = 'Correct test message'
  520. ImageIndex = 1
  521. object memoCorrect: TMemo
  522. Left = 0
  523. Top = 0
  524. Width = 733
  525. Height = 229
  526. Align = alClient
  527. Font.Charset = DEFAULT_CHARSET
  528. Font.Color = clWindowText
  529. Font.Height = -11
  530. Font.Name = 'Courier New'
  531. Font.Style = []
  532. ParentFont = False
  533. ScrollBars = ssBoth
  534. TabOrder = 0
  535. end
  536. end
  537. end
  538. end
  539. object alstMain: TActionList
  540. Images = ImageList1
  541. OnUpdate = alstMainUpdate
  542. Left = 64
  543. Top = 56
  544. object actnFile_Exit: TAction
  545. Category = 'File'
  546. Caption = 'E&xit'
  547. OnExecute = actnFile_ExitExecute
  548. end
  549. object actnTest_Test: TAction
  550. Category = 'Test'
  551. Caption = '&Test'
  552. ShortCut = 16468
  553. OnExecute = actnTest_TestExecute
  554. end
  555. object actnTest_Emit: TAction
  556. Category = 'Test'
  557. Caption = '&Emit'
  558. ShortCut = 16453
  559. OnExecute = actnTest_TestExecute
  560. end
  561. object actnTest_Verify: TAction
  562. Category = 'Test'
  563. Caption = '&Verify'
  564. ShortCut = 120
  565. OnExecute = actnTest_TestExecute
  566. end
  567. object actnTest_VerifyAll: TAction
  568. Category = 'Test'
  569. Caption = 'Verify &All'
  570. OnExecute = actnTest_VerifyAllExecute
  571. end
  572. end
  573. object MainMenu1: TMainMenu
  574. Images = ImageList1
  575. Left = 64
  576. Top = 136
  577. object File1: TMenuItem
  578. Caption = '&File'
  579. object Exit1: TMenuItem
  580. Action = actnFile_Exit
  581. end
  582. end
  583. object Emit2: TMenuItem
  584. Caption = 'Test'
  585. ShortCut = 16453
  586. object eset1: TMenuItem
  587. Action = actnTest_Emit
  588. end
  589. object actnFileTest1: TMenuItem
  590. Action = actnTest_Test
  591. end
  592. object estandVerify2: TMenuItem
  593. Action = actnTest_Verify
  594. end
  595. object N1: TMenuItem
  596. Caption = '-'
  597. end
  598. object VerifyAll1: TMenuItem
  599. Action = actnTest_VerifyAll
  600. end
  601. end
  602. end
  603. object PopupMenu1: TPopupMenu
  604. Images = ImageList1
  605. Left = 64
  606. Top = 200
  607. object estandVerify1: TMenuItem
  608. Action = actnTest_Verify
  609. Default = True
  610. end
  611. object Exit2: TMenuItem
  612. Action = actnTest_Test
  613. end
  614. object Emit1: TMenuItem
  615. Action = actnTest_Emit
  616. end
  617. end
  618. object ImageList1: TImageList
  619. Left = 64
  620. Top = 272
  621. end
  622. object OpenDialog1: TOpenDialog
  623. Left = 66
  624. Top = 388
  625. end
  626. object bublEncoderPlayground: TBXBubble
  627. Category = 'Encoders'
  628. Description = 'Encoder Playground'
  629. OnPlayground = bublEncoderPlaygroundPlayground
  630. Left = 64
  631. Top = 336
  632. end
  633. end