PRB: Changing Form ScaleMode Does Not Alter Grid Partition Value

Last reviewed: June 17, 1997
Article ID: Q170172
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b, 5.0, 5.0a on the following platforms: NT, Win95

SYMPTOMS

Changing the ScaleMode property of a form does not change the numerical value of the partition of a grid.

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

When changing the ScaleMode of a form from pixels to foxels or vice versa, all the dimensional properties of the form and controls on the form should reflect to the new ScaleMode.

Steps to Reproduce Behavior

  1. Create a form.

  2. Add a grid to the form and make its Width property 400.

  3. Increase the Partition property of the grid to 200.

  4. Change the ScaleMode property of the form from pixels to foxels.

Look at the numerical values that should change when the ScaleMode changes, such as width, top, left, or height of the form and the grid. These values change, but the partition value of the grid remains the same.


Keywords : FxprgGrid FxtoolFormdes vfoxwin
Version : 3.0 3.0b 5.0 5.0a
Platform : WINDOWS
Issue type : kbprb


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: June 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.