Página 1 de 1

TPrintDlg:nCopies

Publicado: Dom Ene 20, 2008 11:28 am
por Gejza Horvath
Hi boys,
I would like to print from my app. After generating the doc, i call:
WITH OBJECT ::oPrintDlg1
:Run()
IF :hDC <> 0
FOR i := 1 TO :nCopies
::oChart:Draw2Printer(:hDc)
NEXT
ENDIF
END WITH
The problem is in nCopies property. It returns allways the initial value (1). How can I
get to number of copies, set in TprintDlg by user?
I tried with global Printer object, but this object returns the hDC property as zero.
Gejza Horvath