home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / prtrxdem.zip / PRTGRX.VRY (.txt) < prev    next >
VX-REXX Windows/Object Info  |  1996-01-01  |  8KB  |  282 lines

  1. VRX   OS/2 v2.13
  2. VRWindow
  3. dialog
  4. Modal
  5. WindowListTitle    
  6. <caption>
  7. CALL Window1_Close
  8. Prtgraph Demo
  9. Bottom
  10. Window1
  11. Demo for REXX graphic printing DLL 
  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. ~Font...
  25. CALL PB_3_Click
  26. Pick the font to print in
  27. VREntryField
  28. 10.Helvetica Bold
  29. Font that will be used for printing. MUST BE OUTLINE !!!
  30. VRGroupBox
  31. Captioned
  32. What to print
  33. <default>
  34. <default>
  35. VRRadioButton
  36. NoPointerFocus
  37. Table
  38. Print a table with 3 columns
  39. VRRadioButton
  40. NoPointerFocus
  41. OS/2 Bitmap
  42. Print the OS/2 bitmap, (must have it in OS2\BITMAP)
  43. VRRadioButton
  44. NoPointerFocus
  45. Text justified
  46. Print a load of text justified
  47. VRRadioButton
  48. NoPointerFocus
  49. Text centred
  50. Print a load of text centred
  51. VRRadioButton
  52. NoPointerFocus
  53. Text right
  54. Print a load of text right justified
  55. VRRadioButton
  56. NoPointerFocus
  57. Text left
  58. Print a load of text left justified
  59. VRRadioButton
  60. NoPointerFocus
  61. Box styles
  62. Print a set of boxes with the different fill styles
  63. VRRadioButton
  64. NoPointerFocus
  65. Tabbed text
  66. Print an example that uses tabbing and moving
  67. VRGroupBox
  68. Captioned
  69. Margins (mm)
  70. <default>
  71. <default>
  72. VRDescriptiveText
  73. Right
  74. Center
  75. DT_10
  76. VRSpinButton
  77. Right
  78. <0 to 100>
  79.     BoundPart
  80. EntryField
  81. SPIN_10
  82. Left margin in mm
  83. VRSpinButton
  84. Right
  85. <0 to 100>
  86.     BoundPart
  87. EntryField
  88. SPIN_9
  89. Right margin in mm
  90. VRDescriptiveText
  91. Right
  92. Center
  93. right
  94. VRDescriptiveText
  95. Right
  96. Center
  97. VRSpinButton
  98. Right
  99. <0 to 100>
  100.     BoundPart
  101. EntryField
  102. SPIN_8
  103. Top margin in mm
  104. VRSpinButton
  105. Right
  106. <0 to 100>
  107.     BoundPart
  108. EntryField
  109. SPIN_7
  110. Bottom margin in mm
  111. VRDescriptiveText
  112. Right
  113. Center
  114. bottom
  115. VRGroupBox
  116. Captioned
  117. Page border
  118. <default>
  119. <default>
  120. VRDescriptiveText
  121. Right
  122. Center
  123. Style
  124. VRSpinButton
  125. Right
  126. <0 to 15>
  127.     BoundPart
  128. EntryField
  129. SPIN_4
  130. Fill style for the page area 0 = none else 1 to 15
  131. VRCheckBox
  132. NoPointerFocus
  133. CALL CB_1_Click
  134. Print a border around the page
  135. VRDescriptiveText
  136. Right
  137. Center
  138. Width
  139. VRSpinButton
  140. Right
  141. <0 to 200>
  142.     BoundPart
  143. EntryField
  144. SPIN_1
  145. Line width in Twips (56 = 1 mm)
  146. VRGroupBox
  147. Captioned
  148. Header
  149. <default>
  150. <default>
  151. VRDescriptiveText
  152. Right
  153. Center
  154. Width
  155. VRDescriptiveText
  156. Right
  157. Center
  158. Style
  159. VRCheckBox
  160. NoPointerFocus
  161. Print a header (or not)
  162. VRSpinButton
  163. Right
  164. <0 to 15>
  165.     BoundPart
  166. EntryField
  167. SPIN_3
  168. Fill style for the header area 0 = none else 1 to 15
  169. VRSpinButton
  170. Right
  171. <0 to 200>
  172.     BoundPart
  173. EntryField
  174. SPIN_2
  175. Line width in Twips (56 = 1 mm)
  176. VRCheckBox
  177. NoPointerFocus
  178. All pages
  179. Print a header on all pages (checked) or only page 1
  180. VRGroupBox
  181. Captioned
  182. Footer
  183. <default>
  184. <default>
  185. VRDescriptiveText
  186. Right
  187. Center
  188. Width
  189. VRDescriptiveText
  190. Right
  191. Center
  192. Style
  193. VRCheckBox
  194. NoPointerFocus
  195. Print a footer (or not)
  196. VRSpinButton
  197. Right
  198. <0 to 200>
  199.     BoundPart
  200. EntryField
  201. SPIN_6
  202. Line width in Twips (56 = 1 mm)
  203. VRSpinButton
  204. Right
  205. <0 to 15>
  206.     BoundPart
  207. EntryField
  208. SPIN_5
  209. Fill style for the footer area 0 = none else 1 to 15
  210. VRPushButton
  211. NoPointerFocus
  212. ~Job properties...
  213. CALL PB_4_Click
  214. See the printer's job properties dialog
  215.     VRMenuBar
  216. VRMenu
  217. ~File
  218. Menu1
  219. VRMenuItem
  220. ~Printer setup...
  221. CALL idm_prt_setup_Click
  222. idm_prt_setup
  223. Open the printer selection dialog
  224. VRMenuItem
  225. MItem_6
  226. VRMenuItem
  227. E~xit
  228. CALL idm_exit_Click
  229. idm_exit
  230. Quit the demo
  231. VRMenu
  232. ~Help
  233. Menu2
  234. VRMenuItem
  235. ~About...
  236. CALL idm_about_Click
  237. idm_about
  238. VRSpinButton
  239. Right
  240. <50 to 1000 by 10>
  241.     BoundPart
  242. EntryField
  243. SPIN_11
  244. VRDescriptiveText
  245. Right
  246. Center
  247. inter line space
  248. DT_11
  249. VRDescriptiveText
  250. Center
  251. % pt size
  252. DT_12
  253. VRPushButton
  254. NoPointerFocus
  255. ~Choose printer...
  256. CALL PB_5_Click
  257. Choose a printer from the printer list
  258. VRPushButton
  259. NoPointerFocus
  260. ~About...
  261. CALL PB_6_Click
  262. Who done it?
  263. VRX   OS/2 v2.13
  264. VRWindow
  265. CALL PrtDialog_Create
  266. dialog
  267. Modeless
  268. call PrtDialog_Close
  269. Choose printer
  270. PrtDialog
  271.     VRListBox
  272. CALL LB_1_DoubleClick
  273. VRPushButton
  274. NoPointerFocus
  275. CALL PB_7_Click
  276. VRPushButton
  277. NoPointerFocus
  278. Cancel
  279. CALL PB_8_Click
  280. PrtDialog
  281. Window1
  282.