TPrinter:Preview() method
Posted: Sat Feb 18, 2006 4:43 pm
Is it right that TPrinter:Preview() method
calls ::End() if ::lMeta is .F.? If I'm not wrong, it seems that it calls ::End() a second time inside PrintEnd() function:
EMG
Code: Select all
METHOD Preview() INLINE If( ::lMeta .and. Len( ::aMeta ) > 0 .and. ::hDC != 0,;
RPreview( Self ), ::End() )
Code: Select all
FUNCTION PrintEnd()
IF oPrinter:lMeta
oPrinter:Preview()
ELSE
oPrinter:End()
ENDIF
oPrinter := nil
RETURN nil