home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / prtgr22.zip / prtrdemo.VRY (.txt) < prev    next >
VX-REXX Windows/Object Info  |  1996-05-10  |  20KB  |  690 lines

  1. VRX   OS/2 v2.13
  2. VRWindow
  3. dialog
  4. Modal
  5. WindowListTitle    
  6. <caption>
  7. CALL Window1_Close
  8. PrtGraph
  9. Bottom
  10. Window1
  11. Demo for VX-REXX graphic printing object 
  12. VRPushButton
  13. NoPointerFocus
  14. ~Print....
  15. CALL PB_1_Click
  16. Try it !!!
  17. VRPushButton
  18. NoPointerFocus
  19. ~Quit
  20. CALL PB_2_Click
  21. Quit the demo
  22. VRPushButton
  23. NoPointerFocus
  24. ~Job properties...
  25. CALL PB_4_Click
  26. See the printer's job properties dialog
  27. VRPushButton
  28. NoPointerFocus
  29. ~Choose printer...
  30. CALL PB_5_Click
  31. Choose a printer from the printer list
  32. VRNotebook
  33. Binding
  34. Spiral    BackPages
  35. BottomRight
  36. MajorTabPos
  37. Bottom
  38. TabShape
  39. Rounded
  40. TabTextAlignment
  41. StatusTextAlignment
  42. InitialPageLista
  43. ;Front_page+About;Page_dlg+Page;hdr_ftr_dlg+Header;ftr_dlg+Footer;table_dlg+Tables;Print_dlg+What
  44. PreloadPages
  45.     VRMenuBar
  46. VRMenu
  47. ~File
  48. Menu1
  49. VRMenuItem
  50. ~Printer setup...
  51. CALL idm_prt_setup_Click
  52. idm_prt_setup
  53. Open the printer selection dialog
  54. VRMenuItem
  55. MItem_6
  56. VRMenuItem
  57. E~xit
  58. CALL idm_exit_Click
  59. idm_exit
  60. Quit the demo
  61. VRMenu
  62. ~Help
  63. Menu2
  64. VRMenuItem
  65. ~About...
  66. CALL idm_about_Click
  67. idm_about
  68. VRX   OS/2 v2.13
  69. VRWindow
  70. call Page_dlg_Create
  71. dialog
  72. Modeless
  73. TitleBar
  74. call Page_dlg_Close
  75. CALL Page_dlg_Resize
  76. Page_dlg
  77. VRGroupBox
  78. <default>
  79. <default>
  80. VRGroupBox
  81. Captioned
  82. Page border
  83. <default>
  84. <default>
  85. VRDescriptiveText
  86. Right
  87. Center
  88. Fill style
  89. VRSpinButton
  90. Right
  91. <0 to 15>
  92.     BoundPart
  93. EntryField
  94. SPIN_4
  95. Fill style for the page area 0 = none else 1 to 15
  96. VRCheckBox
  97. NoPointerFocus
  98. Print border
  99. CALL CB_1_Click
  100. Print a border around the page
  101. VRDescriptiveText
  102. Right
  103. Center
  104. Line width
  105. VRSpinButton
  106. Right
  107. <0 to 200>
  108.     BoundPart
  109. EntryField
  110. SPIN_1
  111. Line width in Twips (56 = 1 mm)
  112. VRDropDownComboBox
  113. ;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
  114. <default>
  115.     BoundPart
  116. EntryField
  117. MoveDBCursor
  118. DDCB_bcolor
  119. Color for the page border
  120. VRDescriptiveText
  121. Right
  122. Center
  123. Color
  124. DT_13
  125. VRDropDownComboBox
  126. ;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
  127. <default>
  128.     BoundPart
  129. EntryField
  130. MoveDBCursor
  131. DDCB_fcolor
  132. Color for the page fill
  133. VRDescriptiveText
  134. Right
  135. Center
  136. Color
  137. DT_14
  138. VRDescriptiveText
  139. Right
  140. Center
  141. Text color
  142. DT_29
  143. VRDropDownComboBox
  144. ;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
  145. <default>
  146.     BoundPart
  147. EntryField
  148. MoveDBCursor
  149. DDCB_color
  150. Color for printing text
  151. VRGroupBox
  152. Captioned
  153. Margins (mm)
  154. <default>
  155. <default>
  156. VRDescriptiveText
  157. Right
  158. Center
  159. DT_10
  160. VRSpinButton
  161. Right
  162. <0 to 100>
  163.     BoundPart
  164. EntryField
  165. SPIN_10
  166. Left margin in mm
  167. VRSpinButton
  168. Right
  169. <0 to 100>
  170.     BoundPart
  171. EntryField
  172. SPIN_9
  173. Right margin in mm
  174. VRDescriptiveText
  175. Right
  176. Center
  177. right
  178. VRDescriptiveText
  179. Right
  180. Center
  181. VRSpinButton
  182. Right
  183. <0 to 100>
  184.     BoundPart
  185. EntryField
  186. SPIN_8
  187. Top margin in mm
  188. VRSpinButton
  189. Right
  190. <0 to 100>
  191.     BoundPart
  192. EntryField
  193. SPIN_7
  194. Bottom margin in mm
  195. VRDescriptiveText
  196. Right
  197. Center
  198. bottom
  199. VRDescriptiveText
  200. Right
  201. Center
  202. inter line space
  203. DT_11
  204. VRSpinButton
  205. Right
  206. <50 to 1000 by 10>
  207.     BoundPart
  208. EntryField
  209. SPIN_11
  210. VRDescriptiveText
  211. Center
  212. % pt size
  213. DT_12
  214. VRX   OS/2 v2.13
  215. VRWindow
  216. call Print_dlg_Create
  217. dialog
  218. Modeless
  219. TitleBar
  220. call Print_dlg_Close
  221. CALL Print_dlg_Resize
  222. Print_dlg
  223. VRGroupBox
  224. <default>
  225. <default>
  226. VRGroupBox
  227. Captioned
  228. What to print
  229. <default>
  230. <default>
  231. VRRadioButton
  232. NoPointerFocus
  233. Table
  234. Print a table with 3 columns
  235. VRRadioButton
  236. NoPointerFocus
  237. Bitmaps
  238. Print the OS/2 bitmap, (must have it in OS2\BITMAP)
  239. VRRadioButton
  240. NoPointerFocus
  241. Text justified
  242. Print a load of text justified
  243. VRRadioButton
  244. NoPointerFocus
  245. Text centred
  246. Print a load of text centred
  247. VRRadioButton
  248. NoPointerFocus
  249. Text right aligned
  250. Print a load of text right justified
  251. VRRadioButton
  252. NoPointerFocus
  253. Text left aligned
  254. Print a load of text left justified
  255. VRRadioButton
  256. NoPointerFocus
  257. Box styles
  258. Print a set of boxes with the different fill styles
  259. VRRadioButton
  260. NoPointerFocus
  261. Tabbed text
  262. Print an example that uses tabbing and moving
  263. VRRadioButton
  264. NoPointerFocus
  265. Print the file chosen below
  266. VRRadioButton
  267. NoPointerFocus
  268. Window image
  269. RB_10
  270. Print an image of the client area of the main window
  271. VREntryField
  272. 10.Helvetica Bold
  273. Font that will be used for printing. MUST BE OUTLINE !!!
  274. VRPushButton
  275. NoPointerFocus
  276. ~Font...
  277. CALL PB_3_Click
  278. Pick the font to print in
  279. VRPushButton
  280. NoPointerFocus
  281. F~ile...
  282. CALL PB_7_Click
  283. Pick the file to print
  284. VREntryField
  285. Name of the file to print
  286. VRX   OS/2 v2.13
  287. VRWindow
  288. call hdr_ftr_dlg_Create
  289. dialog
  290. Modeless
  291. TitleBar
  292. call hdr_ftr_dlg_Close
  293. CALL hdr_ftr_dlg_Resize
  294. hdr_ftr_dlg
  295. VRGroupBox
  296. Captioned
  297. Header
  298. <default>
  299. <default>
  300. VRDescriptiveText
  301. Right
  302. Center
  303. Line width
  304. VRDescriptiveText
  305. Right
  306. Center
  307. Fill style
  308. VRCheckBox
  309. NoPointerFocus
  310. Print headers
  311. Print a header (or not)
  312. VRSpinButton
  313. Right
  314. <0 to 15>
  315.     BoundPart
  316. EntryField
  317. SPIN_3
  318. Fill style for the header area 0 = none else 1 to 15
  319. VRSpinButton
  320. Right
  321. <0 to 200>
  322.     BoundPart
  323. EntryField
  324. SPIN_2
  325. Line width in Twips (56 = 1 mm)
  326. VRCheckBox
  327. NoPointerFocus
  328. On all pages
  329. Print a header on all pages (checked) or only page 1
  330. VRDropDownComboBox
  331. ;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
  332. <default>
  333.     BoundPart
  334. EntryField
  335. MoveDBCursor
  336. DDCB_hlcolor
  337. Color for the box around the header
  338. VRDescriptiveText
  339. Right
  340. Center
  341. Color
  342. DT_15
  343. VRDropDownComboBox
  344. ;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
  345. <default>
  346.     BoundPart
  347. EntryField
  348. MoveDBCursor
  349. DDCB_hfcolor
  350. Color for the fill style of the header
  351. VRDescriptiveText
  352. Right
  353. Center
  354. Color
  355. DT_16
  356. VRDescriptiveText
  357. Right
  358. Center
  359. Text color
  360. DT_24
  361. VRDropDownComboBox
  362. ;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
  363. <default>
  364.     BoundPart
  365. EntryField
  366. MoveDBCursor
  367. DDCB_htcolor
  368. Color for the text in the header
  369. VREntryField
  370. Text for line 1 of the header
  371. VREntryField
  372. ADD Consulting (CH)$r@ $?
  373. Text for line 2 of the header
  374. VREntryField
  375. Demo for VRPrinter Object for VX-REXX
  376. Text for line 3 of the header
  377. VREntryField
  378. Text for line 4 of the header
  379. VRDescriptiveText
  380. Right
  381. Center
  382. DT_25
  383. VRDescriptiveText
  384. Right
  385. Center
  386. DT_26
  387. VRDescriptiveText
  388. Right
  389. Center
  390. DT_27
  391. VRDescriptiveText
  392. Right
  393. Center
  394. DT_28
  395. VRX   OS/2 v2.13
  396. VRWindow
  397. call front_page_Create
  398. dialog
  399. Modeless
  400. TitleBar
  401. call front_page_Close
  402. CALL front_page_Resize
  403. front_page
  404. VRGroupBox
  405. Raised
  406. PaleGray
  407. DarkBlue
  408. GB_11
  409. VRDescriptiveText
  410. Center
  411. Center
  412. 1995, 1996 all rights reserved
  413. 10.Helvetica
  414. copyright_DT
  415. VRDescriptiveText
  416. Center
  417. Center
  418. e-mail : kanis@ibm.net
  419. 10.Helvetica
  420. DT_22
  421. VRDescriptiveText
  422. Center
  423. Center
  424. Tel : +41 (0)81 630 2011 (ISDN)
  425. 10.Helvetica
  426. DT_21
  427. VRDescriptiveText
  428. Center
  429. Center
  430. Fax : +41 (0)81 630 2015 (ISDN)
  431. 10.Helvetica
  432. DT_20
  433. VRDescriptiveText
  434. Center
  435. Center
  436. CompuServe : 100275,350 Peter Kanis
  437. 10.Helvetica
  438. DT_19
  439. VRGroupBox
  440. Lowered
  441. PaleGray
  442. <default>
  443. GB_21
  444. VRPictureBox
  445. Pict_1
  446. VRX   OS/2 v2.13
  447. VRWindow
  448. call ftr_dlg_Create
  449. dialog
  450. Modeless
  451. TitleBar
  452. call ftr_dlg_Close
  453. CALL ftr_dlg_Resize
  454. ftr_dlg
  455. VRGroupBox
  456. Captioned
  457. Footer
  458. <default>
  459. <default>
  460. VRDescriptiveText
  461. Right
  462. Center
  463. Line width
  464. VRDescriptiveText
  465. Right
  466. Center
  467. Fill style
  468. VRCheckBox
  469. NoPointerFocus
  470. Print footers
  471. Print a footer (or not)
  472. VRSpinButton
  473. Right
  474. <0 to 200>
  475.     BoundPart
  476. EntryField
  477. SPIN_6
  478. Line width in Twips (56 = 1 mm)
  479. VRSpinButton
  480. Right
  481. <0 to 15>
  482.     BoundPart
  483. EntryField
  484. SPIN_5
  485. Fill style for the footer area 0 = none else 1 to 15
  486. VRDropDownComboBox
  487. ;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
  488. <default>
  489.     BoundPart
  490. EntryField
  491. MoveDBCursor
  492. DDCB_flcolor
  493. Color for the line around the footer
  494. VRDescriptiveText
  495. Right
  496. Center
  497. Color
  498. DT_17
  499. VRDropDownComboBox
  500. ;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
  501. <default>
  502.     BoundPart
  503. EntryField
  504. MoveDBCursor
  505. DDCB_ffcolor
  506. Color for the fill in the footer
  507. VRDescriptiveText
  508. Right
  509. Center
  510. Color
  511. DT_18
  512. VRDescriptiveText
  513. Right
  514. Center
  515. Text color
  516. DT_23
  517. VRDropDownComboBox
  518. ;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
  519. <default>
  520.     BoundPart
  521. EntryField
  522. MoveDBCursor
  523. DDCB_ftcolor
  524. Color for the footer text
  525. VRDescriptiveText
  526. Right
  527. Center
  528. DT_30
  529. VREntryField
  530. $rpage $#
  531. Text to print in the footer
  532. VRX   OS/2 v2.13
  533. VRWindow
  534. call table_dlg_Create
  535. dialog
  536. Modeless
  537. TitleBar
  538. call table_dlg_Close
  539. CALL table_dlg_Resize
  540. table_dlg
  541. VRGroupBox
  542. <default>
  543. <default>
  544. GB_13
  545. VRGroupBox
  546. Captioned
  547. Table cells
  548. <default>
  549. <default>
  550. GB_14
  551. VRDropDownComboBox
  552. ;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
  553. <default>
  554.     BoundPart
  555. EntryField
  556. MoveDBCursor
  557. DDCB_ttcolor
  558. Color for the text in table cells
  559. VRDescriptiveText
  560. Right
  561. Center
  562. Text color
  563. DT_47
  564. VRDescriptiveText
  565. Right
  566. Center
  567. Color
  568. DT_44
  569. VRDropDownComboBox
  570. ;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
  571. <default>
  572.     BoundPart
  573. EntryField
  574. MoveDBCursor
  575. DDCB_tfcolor
  576. Color for the fill in table cells
  577. VRDropDownComboBox
  578. ;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
  579. <default>
  580.     BoundPart
  581. EntryField
  582. MoveDBCursor
  583. DDCB_tlcolor
  584. Color for the border of table cells
  585. VRDescriptiveText
  586. Right
  587. Center
  588. Color
  589. DT_43
  590. VRDescriptiveText
  591. Right
  592. Center
  593. Fill style
  594. DT_45
  595. VRSpinButton
  596. Right
  597. <0 to 15>
  598.     BoundPart
  599. EntryField
  600. SPIN_14
  601. Fill style for the header area 0 = none else 1 to 15
  602. VRSpinButton
  603. Right
  604. <0 to 200>
  605.     BoundPart
  606. EntryField
  607. SPIN_15
  608. Line width in Twips (56 = 1 mm)
  609. VRDescriptiveText
  610. Right
  611. Center
  612. Line width
  613. DT_46
  614. VRGroupBox
  615. Captioned
  616. Table header
  617. <default>
  618. <default>
  619. GB_15
  620. VRDropDownComboBox
  621. ;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
  622. <default>
  623.     BoundPart
  624. EntryField
  625. MoveDBCursor
  626. DDCB_thtcolor
  627. Color for the text in table headers
  628. VRDescriptiveText
  629. Right
  630. Center
  631. Text color
  632. DT_52
  633. VRDescriptiveText
  634. Right
  635. Center
  636. Color
  637. DT_51
  638. VRDropDownComboBox
  639. ;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
  640. <default>
  641.     BoundPart
  642. EntryField
  643. MoveDBCursor
  644. DDCB_thfcolor
  645. Color for the fill in table headers
  646. VRDropDownComboBox
  647. ;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
  648. <default>
  649.     BoundPart
  650. EntryField
  651. MoveDBCursor
  652. DDCB_thlcolor
  653. Color for the border of table headers
  654. VRDescriptiveText
  655. Right
  656. Center
  657. Color
  658. DT_50
  659. VRDescriptiveText
  660. Right
  661. Center
  662. Fill style
  663. DT_49
  664. VRSpinButton
  665. Right
  666. <0 to 15>
  667.     BoundPart
  668. EntryField
  669. SPIN_12
  670. Fill style for the header area 0 = none else 1 to 15
  671. VRSpinButton
  672. Right
  673. <0 to 200>
  674.     BoundPart
  675. EntryField
  676. SPIN_13
  677. Line width in Twips (56 = 1 mm)
  678. VRDescriptiveText
  679. Right
  680. Center
  681. Line width
  682. DT_48
  683. table_dlg
  684. ftr_dlg
  685. front_page
  686. hdr_ftr_dlg
  687. Print_dlg
  688. Page_dlg
  689. Window1
  690.