BUG: Repositioning or Resizing a Control After Changing the Font Causes Incorrect Positioning and Sizing (206907)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q206907 SYMPTOMS
When you programmatically reposition and resize a control to a new scale immediately after the Font property of the control has been changed, the control's new size and new position may be incorrect.
RESOLUTION
Change the control's position and size properties before changing the control's Font property.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. REFERENCESFor additional information on rescaling forms, click the article number below
to view the article in the Microsoft Knowledge Base:
182070 HOWTO: Create a Resolution-Independent Form
Modification Type: | Major | Last Reviewed: | 10/15/2002 |
---|
Keywords: | kbBug kbDSupport KB206907 |
---|
|