home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / vrproj21.zip / WINDOW1.VRY (.txt) < prev   
VX-REXX Windows/Object Info  |  1995-12-28  |  21KB  |  702 lines

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