PRB: Gauge Control Fill Area Flickers

Last reviewed: May 22, 1997
Article ID: Q168828
The information in this article applies to:
  • Microsoft Visual Basic Standard, Professional, and Enterprise Editions, 16-bit and 32-bit, for Windows, version 4.0

SYMPTOMS

The Gauge Control with the style property (linear filled) set to 0, Horizontal Bar, or 1, Vertical Bar, will appear to flicker.

CAUSE

The cause of this problem has not been determined.

RESOLUTION

There is no known workaround at this time.

STATUS

The information in this article is preliminary and has not been confirmed by Microsoft. Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps To Reproduce the Problem

  1. Create a new project. Form1 is created by default.

  2. Place a gauge control on the form by selecting Tools menu, Custom Controls, and choosing the MicroHelp Gauge Control.

  3. Set the Gauge style property to 1, Vertical Bar.

  4. Place a Horizontal Scroll Bar on the form.

  5. In the change event of the Horizontal Scroll Bar, place the following code.

          Gauge1.value = Hscroll1.value
    

  6. Execute the Program.

  7. Click and hold the Horizontal Scroll Bar small change arrow. Note that the gauge control flickers as the fill area grows.


Keywords : vb4all vb4win kbprb
Version : 4.0
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.