syntax of window print
Posted: Fri Dec 10, 2010 3:40 am
Dear all
I need to print a window, so I follow the syntax to print and fail,followinf are info I got from HMG reference
Print Method
Print The Content Of a Window
Syntax:
<WindowName>.Print [ ( lPreview , ldialog , nRow , nCol , nWidth , nHeight ) ]
Syntax error occured no matter which following were used.
1. CardInfo.print cardInfo.Row,CardInfo.Col,CardInfo.Width,CardInfo.Height
hbmk2: Processing configuration: c:\hmg.3.0.34\harbour\bin\hbmk.cfg
Harbour 2.0.0 (Rev. 13372)
Copyright (c) 1999-2010, http://www.harbour-project.org/
icreader.prg(307) Error E0030 Syntax error "syntax error at 'GETPROPERTY'"
1 error
No code generated.
hbmk2: Error: Running Harbour compiler (embedded). 1
(c:\hmg.3.0.34\harbour\bin\harbour.
2. CardInfo.print(cardInfo.Row,CardInfo.Col,CardInfo.Width,CardInfo.Height)
hbmk2: Processing configuration: c:\hmg.3.0.34\harbour\bin\hbmk.cfg
Harbour 2.0.0 (Rev. 13372)
Copyright (c) 1999-2010, http://www.harbour-project.org/
icreader.prg(307) Error E0030 Syntax error "syntax error at '('"
1 error
No code generated.
hbmk2: Error: Running Harbour compiler (embedded). 1
(c:\hmg.3.0.34\harbour\bin\harbour.exe) -n2 icreader.prg /q -ic:/hmg.3.0.34/harbour/include -ic:/hmg.3.0.34//include -iJ:/ReadIC
attachment is icreader.prg
Please help!
Best Regards
I need to print a window, so I follow the syntax to print and fail,followinf are info I got from HMG reference
Print Method
Print The Content Of a Window
Syntax:
<WindowName>.Print [ ( lPreview , ldialog , nRow , nCol , nWidth , nHeight ) ]
Syntax error occured no matter which following were used.
1. CardInfo.print cardInfo.Row,CardInfo.Col,CardInfo.Width,CardInfo.Height
hbmk2: Processing configuration: c:\hmg.3.0.34\harbour\bin\hbmk.cfg
Harbour 2.0.0 (Rev. 13372)
Copyright (c) 1999-2010, http://www.harbour-project.org/
icreader.prg(307) Error E0030 Syntax error "syntax error at 'GETPROPERTY'"
1 error
No code generated.
hbmk2: Error: Running Harbour compiler (embedded). 1
(c:\hmg.3.0.34\harbour\bin\harbour.
2. CardInfo.print(cardInfo.Row,CardInfo.Col,CardInfo.Width,CardInfo.Height)
hbmk2: Processing configuration: c:\hmg.3.0.34\harbour\bin\hbmk.cfg
Harbour 2.0.0 (Rev. 13372)
Copyright (c) 1999-2010, http://www.harbour-project.org/
icreader.prg(307) Error E0030 Syntax error "syntax error at '('"
1 error
No code generated.
hbmk2: Error: Running Harbour compiler (embedded). 1
(c:\hmg.3.0.34\harbour\bin\harbour.exe) -n2 icreader.prg /q -ic:/hmg.3.0.34/harbour/include -ic:/hmg.3.0.34//include -iJ:/ReadIC
attachment is icreader.prg
Please help!
Best Regards