{"id":168,"date":"2005-08-18T13:35:54","date_gmt":"2005-08-18T21:35:54","guid":{"rendered":"http:\/\/spacefold.com\/colin\/morethanfour\/?p=168"},"modified":"2020-08-16T13:36:35","modified_gmt":"2020-08-16T21:36:35","slug":"why-do-report-layouts-in-vfp9-need-wider-field-expression-controls-than-in-vfp8-and-earlier","status":"publish","type":"post","link":"https:\/\/spacefold.com\/colin\/morethanfour\/2005\/08\/18\/why-do-report-layouts-in-vfp9-need-wider-field-expression-controls-than-in-vfp8-and-earlier\/","title":{"rendered":"Why do report layouts in VFP9 need wider field\/expression controls than in VFP8 and earlier?"},"content":{"rendered":"\n<p>A common question about running reports created in Visual FoxPro 8.0 (and earlier) in VFP9 is &#8220;Why do I have to make my field\/expression controls slightly bigger to avoid having my data truncated in the report output?&#8221;.<\/p>\n\n\n\n<p>The glib answer is that, when SET REPORTBEHAVIOR 90, vfp9 uses GDI+ to render text instead of regular GDI. GDI+ requires a little more space to render the same text string than GDI.<\/p>\n\n\n\n<p>If you&#8217;re happy with that answer (which is essentially &#8220;Just because!&#8221;) then great. No need to read further.<\/p>\n\n\n\n<p>If you&#8217;re interested in exactly&nbsp;<em>why<\/em>&nbsp;GDI+ needs to allow more space when rendering text, then check out this:&nbsp;<a href=\"http:\/\/support.microsoft.com\/?id=307208\">http:\/\/support.microsoft.com\/?id=307208<\/a>. It&#8217;s pretty interesting.<\/p>\n\n\n\n<p><strong><em>Update 16-June-2006<\/em><\/strong>: This related blog post&nbsp;<a href=\"http:\/\/wesnerm.blogs.com\/net_undocumented\/2006\/06\/text_mess_in_ne.html\">Text Mess in .NET<\/a>&nbsp;by Wesner Moise is also interesting.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A common question about running reports created in Visual FoxPro 8.0 (and earlier) in VFP9 is &#8220;Why do I have to make my field\/expression controls slightly bigger to avoid having my data truncated in the report output?&#8221;. The glib answer is that, when SET REPORTBEHAVIOR 90, vfp9 uses GDI+ to render text instead of regular [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-168","post","type-post","status-publish","format-standard","hentry","category-foxpro","post-preview"],"_links":{"self":[{"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/posts\/168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/comments?post=168"}],"version-history":[{"count":0,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/posts\/168\/revisions"}],"wp:attachment":[{"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/media?parent=168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/categories?post=168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/tags?post=168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}