Craig,
Your Book ( page 348 - 351 ).
I do not have method for the click??¶
Is what I begin well?
DEFINE CLASS CrystalViewerEvents AS SESSION OLEPUBLIC
IMPLEMENTS PrintButtonClicked IN "c:\program files\seagate software\viewers\activexviewer\crviewer.dll"
oRpt = NULL
PROCEDURE CLICK( useDefault AS Boolean )
=ErrorMsg(" Test ! " )
ENDPROC
ENDDEFINE
>Yes. Use the PrintButtonClicked event method.
>
>>Hi craig,
>>
>>Thank for your assistance.
>>It is possible to handle the printer button of CrViewer ?
>>(EventHandler ??????)
>>
>>All reports are first on the previewForm before PrintJop.....
>>
>>bernhart
>>
>>>You can't use the print dialog to do it. When you enter the number of copies in that dialog, a command is sent to the printer to print the report twice. It's all handled outside Crystal.
>>>
>>>To get this to work, you'll need to create your own printer dialog. Grab the number of copies and then call the Printout function the number of times needed. Pass a parameter to the report that specifies if the text should be printed or not.
>>>
>>>>Ok craig.
>>>>
>>>>How to place a label one the CR so that it is printed with the second impression or second copies ?
>>>>Suppress one the First Impression.
>>>>
>>>>EventHandler?
>>>>
>>>>
>>>>bernhart
>>>>
>>>>
>>>>