PRB: Changing Form ScaleMode Does Not Alter Grid Partition Value

Last reviewed: May 8, 1997
Article ID: Q168197
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 kbtool 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: May 8, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.