PRB: GET Field Length Incorrect After Font Changed in Layout

Last reviewed: May 21, 1996
Article ID: Q115619
The information in this article applies to:
  • Microsoft FoxPro for Macintosh, versions 2.5b, 2.5c

SYMPTOMS

The first GET field placed on a screen after the font has been changed in the Screen Layout dialog box may not provide enough space to accommodate a completely filled field when the screen is run.

CAUSE

The field height is being adjusted for the new font size, but the field width is not.

RESOLUTION

If the field is placed on the screen a second time, the field width will be adjusted for the new screen font.

MORE INFORMATION

Steps to Reproduce Problem

  1. USE the CUSTOMER database in the TUTORIAL subfolder.
2. Create a new screen. 3. Place COMPANY on the screen as an input field. 4. From the Screen menu, choose Layout, and choose the Font button. 5. Change the font size from 10 to 14. (The default is usually 10.)

If the COMPANY field of the first record is completely filled, it may be truncated when the screen is generated and run. To correct this, add the COMPANY field to the screen a second time; this copy will be the correct width.


Additional reference words: FoxMac 2.50b 2.50c truncated scaled
KBCategory: kbprg kbprb
KBSubcategory:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 21, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.