I have a printing conversion issue going on related to MODAL PREVIEWS. In the 16 bit world, this code made the program stop until they user had closed the preview window: (I'm shortening it a bit).
REPORT oMyRep:oReport ;
FONT oMyRep:oFontArray[1],;
oMyRep:oFontArray[2],;
PEN oMyRep:oPenArray[1],;
oMyRep:oPenArray[2],;
CAPTION "Office Center For Windows Preview" ;
CENTERED ;
HEADER "Date: " + oMyRep:date_string;
CENTERED ;
FOOTER OemtoAnsi("Page: ")+str(oMyRep:oReport:nPage,3) ;
CENTERED ;
PREVIEW MODAL
At the point the preview screen in closed, the font and pen arrays are cleared. In 32 bit however, the program continues and doesn't much care about the MODAL statement. As a result, the pen and font variable are being cleared early and it's causing a problem. Is there an easy way to make the preview model again?