BUG: Invalid Form BorderStyle Value Does Not Raise Error

ID: Q180534


The information in this article applies to:
  • Microsoft Windows CE Toolkit for Visual Basic 6.0
  • Microsoft Windows CE Toolkit for Visual Basic 5.0


SYMPTOMS

Setting the BorderStyle property of a form to an invalid value (any value greater than 1) does not raise an error at design-time or at run-time. If an invalid value is set, the form displays with a fixed single border during run-time.


RESOLUTION

The only valid border styles for a Windows CE application are "None" and "Fixed Single." Their numeric values are 0 and 1 respectively. To avoid compatibility problems in the future, do not set the BorderStyle property of a form to any value other those listed above.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

(c) Microsoft Corporation 1999, All Rights Reserved. Contributions by Mike Dixon, Microsoft Corporation.

Additional query words: wince vbce vbce5 vbce6

Keywords : kbToolkit kbVBp kbVBp500bug kbVBp600bug kbWinCE kbWinCE100 kbGrpVB
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: October 18, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.