home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
prtgraph.zip
/
PRTGRX.VRY
(
.txt
)
< prev
next >
Wrap
VX-REXX Windows/Object Info
|
1996-01-01
|
8KB
|
282 lines
VRX OS/2 v2.13
VRWindow
dialog
Modal
WindowListTitle
<caption>
CALL Window1_Close
Prtgraph Demo
Bottom
Window1
Demo for REXX graphic printing DLL
VRPushButton
NoPointerFocus
~Print....
CALL PB_1_Click
Try it !!!
VRPushButton
NoPointerFocus
~Quit
CALL PB_2_Click
Quit the demo
VRPushButton
NoPointerFocus
~Font...
CALL PB_3_Click
Pick the font to print in
VREntryField
10.Helvetica Bold
Font that will be used for printing. MUST BE OUTLINE !!!
VRGroupBox
Captioned
What to print
<default>
<default>
VRRadioButton
NoPointerFocus
Table
Print a table with 3 columns
VRRadioButton
NoPointerFocus
OS/2 Bitmap
Print the OS/2 bitmap, (must have it in OS2\BITMAP)
VRRadioButton
NoPointerFocus
Text justified
Print a load of text justified
VRRadioButton
NoPointerFocus
Text centred
Print a load of text centred
VRRadioButton
NoPointerFocus
Text right
Print a load of text right justified
VRRadioButton
NoPointerFocus
Text left
Print a load of text left justified
VRRadioButton
NoPointerFocus
Box styles
Print a set of boxes with the different fill styles
VRRadioButton
NoPointerFocus
Tabbed text
Print an example that uses tabbing and moving
VRGroupBox
Captioned
Margins (mm)
<default>
<default>
VRDescriptiveText
Right
Center
DT_10
VRSpinButton
Right
<0 to 100>
BoundPart
EntryField
SPIN_10
Left margin in mm
VRSpinButton
Right
<0 to 100>
BoundPart
EntryField
SPIN_9
Right margin in mm
VRDescriptiveText
Right
Center
right
VRDescriptiveText
Right
Center
VRSpinButton
Right
<0 to 100>
BoundPart
EntryField
SPIN_8
Top margin in mm
VRSpinButton
Right
<0 to 100>
BoundPart
EntryField
SPIN_7
Bottom margin in mm
VRDescriptiveText
Right
Center
bottom
VRGroupBox
Captioned
Page border
<default>
<default>
VRDescriptiveText
Right
Center
Style
VRSpinButton
Right
<0 to 15>
BoundPart
EntryField
SPIN_4
Fill style for the page area 0 = none else 1 to 15
VRCheckBox
NoPointerFocus
CALL CB_1_Click
Print a border around the page
VRDescriptiveText
Right
Center
Width
VRSpinButton
Right
<0 to 200>
BoundPart
EntryField
SPIN_1
Line width in Twips (56 = 1 mm)
VRGroupBox
Captioned
Header
<default>
<default>
VRDescriptiveText
Right
Center
Width
VRDescriptiveText
Right
Center
Style
VRCheckBox
NoPointerFocus
Print a header (or not)
VRSpinButton
Right
<0 to 15>
BoundPart
EntryField
SPIN_3
Fill style for the header area 0 = none else 1 to 15
VRSpinButton
Right
<0 to 200>
BoundPart
EntryField
SPIN_2
Line width in Twips (56 = 1 mm)
VRCheckBox
NoPointerFocus
All pages
Print a header on all pages (checked) or only page 1
VRGroupBox
Captioned
Footer
<default>
<default>
VRDescriptiveText
Right
Center
Width
VRDescriptiveText
Right
Center
Style
VRCheckBox
NoPointerFocus
Print a footer (or not)
VRSpinButton
Right
<0 to 200>
BoundPart
EntryField
SPIN_6
Line width in Twips (56 = 1 mm)
VRSpinButton
Right
<0 to 15>
BoundPart
EntryField
SPIN_5
Fill style for the footer area 0 = none else 1 to 15
VRPushButton
NoPointerFocus
~Job properties...
CALL PB_4_Click
See the printer's job properties dialog
VRMenuBar
VRMenu
~File
Menu1
VRMenuItem
~Printer setup...
CALL idm_prt_setup_Click
idm_prt_setup
Open the printer selection dialog
VRMenuItem
MItem_6
VRMenuItem
E~xit
CALL idm_exit_Click
idm_exit
Quit the demo
VRMenu
~Help
Menu2
VRMenuItem
~About...
CALL idm_about_Click
idm_about
VRSpinButton
Right
<50 to 1000 by 10>
BoundPart
EntryField
SPIN_11
VRDescriptiveText
Right
Center
inter line space
DT_11
VRDescriptiveText
Center
% pt size
DT_12
VRPushButton
NoPointerFocus
~Choose printer...
CALL PB_5_Click
Choose a printer from the printer list
VRPushButton
NoPointerFocus
~About...
CALL PB_6_Click
Who done it?
VRX OS/2 v2.13
VRWindow
CALL PrtDialog_Create
dialog
Modeless
call PrtDialog_Close
Choose printer
PrtDialog
VRListBox
CALL LB_1_DoubleClick
VRPushButton
NoPointerFocus
CALL PB_7_Click
VRPushButton
NoPointerFocus
Cancel
CALL PB_8_Click
PrtDialog
Window1