PRB: Grid Width and Height Decimal Values Not SavedLast reviewed: March 18, 1997Article ID: Q130503 |
3.00
WINDOWS
kbtool kbprb
The information in this article applies to:
SYMPTOMSYou can enter Width and Height property values for grids into the properties sheet to two decimal places, but when you save the entry, it is forced to a value different from the one you specified.
CAUSEThe scale unit is in foxels, so this is an expected behavior. The foxel values are rounded to the nearest pixel-equivalent position. For example, if you have a font where FONTMETRIC(7) equals 12, you get one pixel of width for every .083 foxel columns (approximately). Thus you'd see values like 1.00, 1.08, 1.17, and so on.
WORKAROUNDChange the scale unit to pixels. If it was in pixels to begin with, you would have no fractions at all. To change the scale unit to pixels, follow these steps:
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce BehaviorBefore proceeding to the following steps, verify that the unit scale is set to foxels.
|
Additional reference words: 3.00 VFoxWin decimals
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |