BUG: InnerBottom/InnerRight Defines Gauge Fill Area BadlyLast reviewed: June 21, 1995Article ID: Q81461 |
The information in this article applies to:
- Professional Edition of Microsoft Visual Basic for Windows, versions 2.0 and 3.0- Microsoft Professional Toolkit for Microsoft Visual Basic programming system for Windows, version 1.0
SYMPTOMSWhen you add the Gauge custom control to a form, the fill area defined by the InnerXXX properties is incorrect. Specifically, the InnerBottom sets the bottom border (InnerBottom - 1) pixels from the bottom-most position of the control. Similarly, the InnerRight property sets the right border (InnerRight - 1) pixels from the rightmost position of the control. This behavior occurs only in the InnerBottom and InnerRight properties.
WORKAROUNDTo work around the problem, set InnerRight to (InnerLeft - 1) and InnerBottom to (InnerTop - 1) to create symmetrical borders. Note that in order to create a border of set width, you must account for the aspect ratio of your video display.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Problem
|
Additional reference words: buglist1.00 buglist2.00 buglist3.00 1.00 2.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |