Hey Ken - I truly weep for thee - since I know how utterly a PITA it can be to make strange reports with all this text and weird formatting - just to appease some bureaucrats!
You mentioned the peculiar stuff happens when you Preview - but, you said you had NOT Tested printing yet. Why not test it & report back. Only reason I say so, is, as long as the printed version is OK - then maybe you might just have to tell the Users that they will have to live with the Preview as they see it in Win7 - since any changes to resolve it will only corrupt the printed format - which is Probably the only one most people care about - if I understand correctly. And - if this IS the case - maybe you could even pop-up a message, for those running the system from Win7 - and before the preview pops-up, just to let users understand there may be formatting issues when viewed onscreen - but, those issues will NOT appear when printed. AS for the problems occurring when you send the report to Word - I'm sorry I don't have any suggestions for that... Anyway - just a thought. And, I don't know if it helps, but, there it is anyway... -K- -----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of Ken Dibble Sent: Thursday, January 31, 2013 3:14 PM To: [email protected] Subject: Interesting Difference in Report Preview Display in Windows 7 I know there are various graphical issues/artifacts with VFP on Windows 7. I'm not sure if this one has ever been reported. I have a multi-page report that duplicates a mandated form that one of our departments have to use. The form was designed in Word by bureaucrats and I am required to ensure that my version matches it exactly. It's an insane form, lots of strangely-positioned pieces of text, boxes and lines. Point being I am not allowed to alter its appearance to solve my problems. My report for this form consists of a lot of lines of text, some images, and some fields. The data comes from a denormalized cursor that has one row per page. The controls are all stuffed into the report's detail band, with Print When expressions controlling which page they appear on. There are no report groups or multiple columns. Just one detail band per page, that crosses the entire page. I initially used a single text label for each line of static text. I use the VFP 9 report engine for all previews to prevent a C5 crash issue with the old-style preview window. However, I discovered that when previewing the report on Windows 2000 or XP, some long text labels wouldn't appear completely. I use the old-style VFP report engine to print these reports, and the problem also occurred when printing. For example, a label that contained: "Here is a pretty long line of magnificently positioned text for you to see." would appear as: ""Here is a pretty long line of magnificently" So I broke up long labels into two or more separate labels. In some cases for a long line of text I would need three separate labels, with one containing only a single word, in order to get them all to appear when previewed or printed. I positioned these labels with some space between them in order to provide the appropriate spaces between words. However, I have found that when these reports are previewed in Windows 7--same report, still using the VFP 9 preview engine--the words in the separate labels are jammed up against each other (I haven't tested with printing yet). For example, if I have three labels like so: "Here is a pretty long line of magnificently" "positioned" "text for you to see." This looks right when previewed on Win 2000 or Win XP. But on Win 7, it looks like: Here is a pretty long line of magnificentlypositionedtext for you to see." There are also size issues for image controls. I have a grey BMP "bar" image that I use as background for some subheader rows in the report. They are properly sized on Windows XP, but are about 1/8 inch too long when previewed on Windows 7. I tried dropping a Win XP copy of gdiplus.dll into the program's working directory on Win 7, but that had no effect. These anomalies also occur if I generate a Word document from the report and view it in Word 2010. I'm not asking for help here; I'm just creating yet another version of the report to cope with this. But I think it's strange. Ken Dibble www.stic-cil.org [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/FFC11FCD2F5845E3B82878B57041A7CA@Programming2 ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

