// Can add a 4th param as .t. ( lModal ) so preview screen
// will be on top -- TPrinter():New(cName,.f.,.t.,.t.)
Lo probé, pero obtuve este mensaje:
There are not printers installed!, Please exit this aplication and install a printer
al dar ok en la dialog entonces:
Application
===========
Path and name: D:\EXPORT\EXPORT.Exe (32 bits)
Size: 584,704 bytes
Time from start: 0 hours 1 mins 23 secs
Error occurred at: 20/02/2007, 19:03:38
Error description: Error BASE/1605 Invalid self: NEW
Args:
[ 1] = O Object
[ 2] = U
Stack Calls
===========
Called from: REPORT.PRG => TREPORT:NEW(282)
Called from: mreport.PRG => TMREPORT:NEW(63)
Called from: pdreport.PRG => RPTBEGIN(56)
Called from: listados.prg => EXPOACOB(324)
Called from: export.prg => (b)CREAMENU(208)
Called from: menu.prg => TMENU:COMMAND(657)
Called from: WINDOW.PRG => TWINDOW:COMMAND(0)
Called from: WINDOW.PRG => TWINDOW:HANDLEEVENT(0)
Called from: WINDOW.PRG => _FWH(0)
Called from: => WINRUN(0)
Called from: WINDOW.PRG => TWINDOW:ACTIVATE(0)
Called from: export.prg => MAIN(129)
Qué estoy haciendo mal?
Como hago que el preview de la clase report sea no modal?
Gracias desde ya