Microsoft KB Archive/180534

= BUG: Invalid Form BorderStyle Value Does Not Raise Error =

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 kbOSWinCEsearch kbOSWinCE100 kbGrpDSVB

Issue type : kbbug

Technology : kbVBSearch kbAudDeveloper kbWinCETKVBSearch kbWinCESearch

Last Reviewed: October 20, 1999

-

[mailto:MSDN@MICROSOFT.COM Send feedback to Microsoft]

© 2002 Microsoft Corporation. All rights reserved.