oPrintPrev = CREATEOBJECT("Form") WITH oPrintPrev .NAME = "PrintPrev" .CAPTION = THISFORM.Caption+" Print Preview" .TOP = THISFORM.CONTAINER2.TOP .LEFT = THISFORM.CONTAINER2.LEFT .WIDTH = THISFORM.CONTAINER2.Width-10 .HEIGHT = THISFORM.CONTAINER2.HEIGHT-10 .MinButton = .F. .AlwaysOnTop = .T. .Windowstate = 2 ENDWITH REPORT FORM d:\banks\reports\acbcf PREVIEW WINDOW PrintPrevTo expand a specific part of print preview I use following command
MOUSE CLICK AT 12,18 MOUSE DBLCLICK AT 18,50But it do not work.