DEFINE CLASS printpreview as Form
titlebar = 0
Showwindow = 2 &&Top level
autocenter = .t.
name = "PrintPreview"
height = SYSMETRIC(2) && This will maximize the preview
width = SYSMETRIC(1)&& This will maximize the preview
ENDDEFINE
PUBLIC oPrint
oPrint= CREATEOBJECT("printPreview")
oPrint.SHOW()
[color red]LABEL FROM COUNTRY.LBX PREVIEW IN WINDOW PrintPreview [/color]
IF VARTYPE(oPrint) = "O"
oPrint.RELEASE()
ENDIF
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.