home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
prtgr22.zip
/
prtrdemo.VRY
(
.txt
)
< prev
next >
Wrap
VX-REXX Windows/Object Info
|
1996-05-10
|
20KB
|
690 lines
VRX OS/2 v2.13
VRWindow
dialog
Modal
WindowListTitle
<caption>
CALL Window1_Close
PrtGraph
Bottom
Window1
Demo for VX-REXX graphic printing object
VRPushButton
NoPointerFocus
~Print....
CALL PB_1_Click
Try it !!!
VRPushButton
NoPointerFocus
~Quit
CALL PB_2_Click
Quit the demo
VRPushButton
NoPointerFocus
~Job properties...
CALL PB_4_Click
See the printer's job properties dialog
VRPushButton
NoPointerFocus
~Choose printer...
CALL PB_5_Click
Choose a printer from the printer list
VRNotebook
Binding
Spiral BackPages
BottomRight
MajorTabPos
Bottom
TabShape
Rounded
TabTextAlignment
StatusTextAlignment
InitialPageLista
;Front_page+About;Page_dlg+Page;hdr_ftr_dlg+Header;ftr_dlg+Footer;table_dlg+Tables;Print_dlg+What
PreloadPages
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
VRX OS/2 v2.13
VRWindow
call Page_dlg_Create
dialog
Modeless
TitleBar
call Page_dlg_Close
CALL Page_dlg_Resize
Page_dlg
VRGroupBox
<default>
<default>
VRGroupBox
Captioned
Page border
<default>
<default>
VRDescriptiveText
Right
Center
Fill style
VRSpinButton
Right
<0 to 15>
BoundPart
EntryField
SPIN_4
Fill style for the page area 0 = none else 1 to 15
VRCheckBox
NoPointerFocus
Print border
CALL CB_1_Click
Print a border around the page
VRDescriptiveText
Right
Center
Line width
VRSpinButton
Right
<0 to 200>
BoundPart
EntryField
SPIN_1
Line width in Twips (56 = 1 mm)
VRDropDownComboBox
;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
<default>
BoundPart
EntryField
MoveDBCursor
DDCB_bcolor
Color for the page border
VRDescriptiveText
Right
Center
Color
DT_13
VRDropDownComboBox
;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
<default>
BoundPart
EntryField
MoveDBCursor
DDCB_fcolor
Color for the page fill
VRDescriptiveText
Right
Center
Color
DT_14
VRDescriptiveText
Right
Center
Text color
DT_29
VRDropDownComboBox
;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
<default>
BoundPart
EntryField
MoveDBCursor
DDCB_color
Color for printing text
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
VRDescriptiveText
Right
Center
inter line space
DT_11
VRSpinButton
Right
<50 to 1000 by 10>
BoundPart
EntryField
SPIN_11
VRDescriptiveText
Center
% pt size
DT_12
VRX OS/2 v2.13
VRWindow
call Print_dlg_Create
dialog
Modeless
TitleBar
call Print_dlg_Close
CALL Print_dlg_Resize
Print_dlg
VRGroupBox
<default>
<default>
VRGroupBox
Captioned
What to print
<default>
<default>
VRRadioButton
NoPointerFocus
Table
Print a table with 3 columns
VRRadioButton
NoPointerFocus
Bitmaps
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 aligned
Print a load of text right justified
VRRadioButton
NoPointerFocus
Text left aligned
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
VRRadioButton
NoPointerFocus
Print the file chosen below
VRRadioButton
NoPointerFocus
Window image
RB_10
Print an image of the client area of the main window
VREntryField
10.Helvetica Bold
Font that will be used for printing. MUST BE OUTLINE !!!
VRPushButton
NoPointerFocus
~Font...
CALL PB_3_Click
Pick the font to print in
VRPushButton
NoPointerFocus
F~ile...
CALL PB_7_Click
Pick the file to print
VREntryField
Name of the file to print
VRX OS/2 v2.13
VRWindow
call hdr_ftr_dlg_Create
dialog
Modeless
TitleBar
call hdr_ftr_dlg_Close
CALL hdr_ftr_dlg_Resize
hdr_ftr_dlg
VRGroupBox
Captioned
Header
<default>
<default>
VRDescriptiveText
Right
Center
Line width
VRDescriptiveText
Right
Center
Fill style
VRCheckBox
NoPointerFocus
Print headers
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
On all pages
Print a header on all pages (checked) or only page 1
VRDropDownComboBox
;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
<default>
BoundPart
EntryField
MoveDBCursor
DDCB_hlcolor
Color for the box around the header
VRDescriptiveText
Right
Center
Color
DT_15
VRDropDownComboBox
;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
<default>
BoundPart
EntryField
MoveDBCursor
DDCB_hfcolor
Color for the fill style of the header
VRDescriptiveText
Right
Center
Color
DT_16
VRDescriptiveText
Right
Center
Text color
DT_24
VRDropDownComboBox
;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
<default>
BoundPart
EntryField
MoveDBCursor
DDCB_htcolor
Color for the text in the header
VREntryField
Text for line 1 of the header
VREntryField
ADD Consulting (CH)$r@ $?
Text for line 2 of the header
VREntryField
Demo for VRPrinter Object for VX-REXX
Text for line 3 of the header
VREntryField
Text for line 4 of the header
VRDescriptiveText
Right
Center
DT_25
VRDescriptiveText
Right
Center
DT_26
VRDescriptiveText
Right
Center
DT_27
VRDescriptiveText
Right
Center
DT_28
VRX OS/2 v2.13
VRWindow
call front_page_Create
dialog
Modeless
TitleBar
call front_page_Close
CALL front_page_Resize
front_page
VRGroupBox
Raised
PaleGray
DarkBlue
GB_11
VRDescriptiveText
Center
Center
1995, 1996 all rights reserved
10.Helvetica
copyright_DT
VRDescriptiveText
Center
Center
e-mail : kanis@ibm.net
10.Helvetica
DT_22
VRDescriptiveText
Center
Center
Tel : +41 (0)81 630 2011 (ISDN)
10.Helvetica
DT_21
VRDescriptiveText
Center
Center
Fax : +41 (0)81 630 2015 (ISDN)
10.Helvetica
DT_20
VRDescriptiveText
Center
Center
CompuServe : 100275,350 Peter Kanis
10.Helvetica
DT_19
VRGroupBox
Lowered
PaleGray
<default>
GB_21
VRPictureBox
Pict_1
VRX OS/2 v2.13
VRWindow
call ftr_dlg_Create
dialog
Modeless
TitleBar
call ftr_dlg_Close
CALL ftr_dlg_Resize
ftr_dlg
VRGroupBox
Captioned
Footer
<default>
<default>
VRDescriptiveText
Right
Center
Line width
VRDescriptiveText
Right
Center
Fill style
VRCheckBox
NoPointerFocus
Print footers
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
VRDropDownComboBox
;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
<default>
BoundPart
EntryField
MoveDBCursor
DDCB_flcolor
Color for the line around the footer
VRDescriptiveText
Right
Center
Color
DT_17
VRDropDownComboBox
;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
<default>
BoundPart
EntryField
MoveDBCursor
DDCB_ffcolor
Color for the fill in the footer
VRDescriptiveText
Right
Center
Color
DT_18
VRDescriptiveText
Right
Center
Text color
DT_23
VRDropDownComboBox
;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
<default>
BoundPart
EntryField
MoveDBCursor
DDCB_ftcolor
Color for the footer text
VRDescriptiveText
Right
Center
DT_30
VREntryField
$rpage $#
Text to print in the footer
VRX OS/2 v2.13
VRWindow
call table_dlg_Create
dialog
Modeless
TitleBar
call table_dlg_Close
CALL table_dlg_Resize
table_dlg
VRGroupBox
<default>
<default>
GB_13
VRGroupBox
Captioned
Table cells
<default>
<default>
GB_14
VRDropDownComboBox
;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
<default>
BoundPart
EntryField
MoveDBCursor
DDCB_ttcolor
Color for the text in table cells
VRDescriptiveText
Right
Center
Text color
DT_47
VRDescriptiveText
Right
Center
Color
DT_44
VRDropDownComboBox
;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
<default>
BoundPart
EntryField
MoveDBCursor
DDCB_tfcolor
Color for the fill in table cells
VRDropDownComboBox
;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
<default>
BoundPart
EntryField
MoveDBCursor
DDCB_tlcolor
Color for the border of table cells
VRDescriptiveText
Right
Center
Color
DT_43
VRDescriptiveText
Right
Center
Fill style
DT_45
VRSpinButton
Right
<0 to 15>
BoundPart
EntryField
SPIN_14
Fill style for the header area 0 = none else 1 to 15
VRSpinButton
Right
<0 to 200>
BoundPart
EntryField
SPIN_15
Line width in Twips (56 = 1 mm)
VRDescriptiveText
Right
Center
Line width
DT_46
VRGroupBox
Captioned
Table header
<default>
<default>
GB_15
VRDropDownComboBox
;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
<default>
BoundPart
EntryField
MoveDBCursor
DDCB_thtcolor
Color for the text in table headers
VRDescriptiveText
Right
Center
Text color
DT_52
VRDescriptiveText
Right
Center
Color
DT_51
VRDropDownComboBox
;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
<default>
BoundPart
EntryField
MoveDBCursor
DDCB_thfcolor
Color for the fill in table headers
VRDropDownComboBox
;White;Black;Blue;Red;Pink;Green;Cyan;Yellow;Darkgray;Darkblue;Darkred;Darkpink;Darkgreen;Darkcyan;Brown;Palegray;<default>
<default>
BoundPart
EntryField
MoveDBCursor
DDCB_thlcolor
Color for the border of table headers
VRDescriptiveText
Right
Center
Color
DT_50
VRDescriptiveText
Right
Center
Fill style
DT_49
VRSpinButton
Right
<0 to 15>
BoundPart
EntryField
SPIN_12
Fill style for the header area 0 = none else 1 to 15
VRSpinButton
Right
<0 to 200>
BoundPart
EntryField
SPIN_13
Line width in Twips (56 = 1 mm)
VRDescriptiveText
Right
Center
Line width
DT_48
table_dlg
ftr_dlg
front_page
hdr_ftr_dlg
Print_dlg
Page_dlg
Window1