BUG: The margin value decreases every time PageSetupDialog is displayed (814355)
The information in this article applies to:
- Microsoft Visual Studio .NET (2003), Professional Edition
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2002), Academic Edition
SYMPTOMSThe PageSetupDialog control reduces the
margin every time it is displayed when you do the following things:
- Set the Measurement System property of the
Regional and Language Options of your computer to
Metric.
- Use the PageSetupDialog
control.
CAUSEIf the default measurement system is U.S., the
PageSetupDialog box uses thousandths of inches as the default unit of
measurement. If the default measurement system is Metric, the dialog box uses hundredths of millimeters as the default
unit of measurement. By default, U.S. is the measurement system. If the measurement system is Metric, the margins are converted from U.S. system to Metric system. When the PageSetupDialog is closed, the computer saves information about the page size.
When the PageSetupDialog is reopened, the computer incorrectly assumes the margin as if it
was a U.S. system margin instead of a Metric system margin. The computer converts the margin to the Metric system again. Therefore, the margin reduces every time the PageSetupDialog is displayed.WORKAROUNDTo work around this bug, you can use the U.S. settings for the Measurement system property of
the Regional and Language Options. To do this, follow these
steps:
- On the taskbar, click Start. Point to
Settings, and then click Control
Panel.
- Click Regional and Language
Options.
- On the Regional Options tab, click
Customize.
- Set U.S. as the Measurement
System property.
- Click OK to save the settings.
- Click OK in the Regional and
Language Options window.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.REFERENCESFor more information, visit the following MSDN Web site:
Modification Type: | Minor | Last Reviewed: | 4/5/2006 |
---|
Keywords: | kbvs2005swept kbvs2005doesnotapply kbvs2002sp1sweep kbWindowsForms kbControl kbprint kbbug KB814355 kbAudDeveloper |
---|
|