Dear All,
Preview Container included in Solution.pjx is a good one, however, the Output is scretched to fix the PreviewContainer, in this example, the shape... in help, it is mentioned it can be a container.
I don't like it is being resize to fit the size of container... any way to stop it?!
local lcReport, oListener
wait window 'Running report...' nowait
lcReport = '.\report\receipt1'
if vartype(oListener) = 'O'
oListener.OnPreviewClose()
endif vartype(oListener) = 'O'
oListener = newobject('_ReportListener', home() + 'ffc\_reportlistener.vcx')
oListener.ListenerType = 3
report form (lcReport) object oListener
oListener.OutputPage(1, thisform.oPreviewContainer, 2)
Best regards,
Aaron Chu
********************************************************
Working with Visual FoxPro is a lot of FUN!
********************************************************