Page 1 of 1

PREVIEW. ERROR BASE/1079

Posted: Thu Feb 23, 2006 6:03 pm
by Ramón J.
Hola a todos.

Cuando trato de sacar un listado con la cláusula PREVIEW me lanza el siguiente error:

Error description: Error BASE/1079 Argument error: .OR.
Args:
[ 1] = L .F.
[ 2] = U

Sin embargo, si lo lanzo directamente a la impresora sale perfectamente.

He tratado de compilar el TESTRPT2 que hay en SAMPLES y también me da el mismo error.

Application
===========
Path and name: E:\FWH\SAMPLES\TESTRPT2.exe (32 bits)
Size: 1,079,296 bytes
Time from start: 0 hours 0 mins 7 secs
Error occurred at: 02/22/06, 18:17:04
Error description: Error BASE/1079 Argument error: .OR.
Args:
[ 1] = L .F.
[ 2] = U

Stack Calls
===========
Called from: => TWINDOW:ERASEBKGND(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: => _FWH(0)
Called from: => SHOWWINDOW(0)
Called from: => TWINDOW:ACTIVATE(0)
Called from: => RPREVIEW(0)
Called from: => (b)NEW(0)
Called from: => TREPORT:ACTIVATE(0)
Called from: => MAIN(51)

Cómo se soluciona?

Gracias

Posted: Thu Feb 23, 2006 8:23 pm
by Antonio Linares
Ramón,

Es un error que se ha colado en el build de Febrero de FWH. Para solucionarlo hay que modificar la Clase TSay en classes\say.prg de la siguiente forma:

Code: Select all

METHOD EraseBkGnd( hDC ) CLASS TSay

   DEFAULT ::lTransparent := .f.

   if IsAppThemed() .or. ::lTransparent
      return 1
   endif

return Super:EraseBkGnd( hDC )
Recompilas la clase y añades el OBJ resultante a los OBJs de tu aplicación. A comienzos de Marzo publicaremos un nuevo build que corrige este problema.

Posted: Thu Feb 23, 2006 9:48 pm
by Ramón J.
Gracias, Antonio

Saludos