Microsoft KB Archive/170172

= PRB: Changing Form ScaleMode Does Not Alter Grid Partition Value =

Article ID: 170172

Article Last Modified on 5/12/2003

-

APPLIES TO

 Microsoft Visual FoxPro 3.0 Standard Edition, when used with:  Microsoft Windows NT 4.0

 Microsoft Windows 95  Microsoft Visual FoxPro 3.0b Standard Edition, when used with:  Microsoft Windows NT 4.0

 Microsoft Windows 95</li></ul> </li> Microsoft Visual FoxPro 5.0 Standard Edition, when used with:  Microsoft Windows NT 4.0</li></ul>

 Microsoft Windows 95</li></ul> </li> Microsoft Visual FoxPro 5.0a, when used with:  Microsoft Windows NT 4.0</li></ul>

 Microsoft Windows 95</li></ul> </li> Microsoft Visual FoxPro 6.0 Professional Edition, when used with:  Microsoft Windows NT 4.0</li></ul>

 <li>Microsoft Windows 95</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q170172

<div class="symptoms_section">

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

<div class="status_section">

STATUS
This behavior is by design.

<div class="moreinformation_section">

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: kbprb KB170172

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.