Page 1 of 1

TPRINTER problem

Posted: Fri Feb 17, 2006 3:39 pm
by ask
I have a problem when i use the say method from tprinter (fwh february 2006 build xharbour 0.99.60) .

I see that the error is at EraseBkGnd:

"METHOD EraseBkGnd( hDC ) CLASS TSay

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

return Super:EraseBkGnd( hDC )"

If i comment the ".or. ::lTransparent" everything is ok. Is this the problem and if it is what is the solution?

Posted: Fri Feb 17, 2006 5:42 pm
by Antonio Linares
Ask,

Code: Select all

METHOD EraseBkGnd( hDC ) CLASS TSay 

   DEFAULT ::lTransparent := .f.

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

return Super:EraseBkGnd( hDC )