Saludos al Forum,
Ejecuto este codigo y me sale este mensaje Ya existe una ventana de Prevializacion
Ejecuto este codigo y me sale este mensaje Ya existe una ventana de Prevializacion
//--------------------------------------------------------------------------
Function VPrin34_(nOpc)
DEFINE WINDOW oWnd FROM 1, 1 TO 20, 60 TITLE "Printing a Window"
@ 3, 3 BUTTON "&Print me" OF oWnd SIZE 80, 20 ;
ACTION PrintMe() // try also with oWnd:HardCopy()
ACTIVATE WINDOW oWnd
return nil
//----------------------------------------------------------------------------//
function PrintMe()
local oPrn
PRINT oPrn NAME "Test" PREVIEW
PAGE
oWnd:Print( oPrn, 1, 1, 2 ) // Scale factor 2
ENDPAGE
ENDPRINT
return nil