Microsoft KB Archive/81951

= PRB: 3D Command Button Shows Outline when Outline = False =

Article ID: 81951

Article Last Modified on 2/23/2007

-

APPLIES TO


 * Microsoft Visual Basic 2.0 Professional Edition
 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Windows 2000 Readiness Analyzer

-



This article was previously published under Q81951





SYMPTOMS
When you set the Outline property of the Visual Basic 3D Command Button custom control to False, the button appears to have an outline when the button has the focus.



STATUS
This is by design. The Outline property is not designed to turn the outline off when the command button control has the focus.



MORE INFORMATION
The Visual Basic 3D Command Button custom control has an Outline property that can be set to True or False. When the property is set to False, the outline does not appear around the control at design time. At run time, if the button has the focus, the outline appears around the control.

Steps to Reproduce Behavior

 * 1) Start Visual Basic or from the File menu, choose New Project (ALT, F, N) if Visual Basic is already running. Form1 is created by default.
 * 2) From the File menu, choose Add File. In the Files box, select the THREED.VBX custom control file. The 3D Command Button tool appears in the toolbox.
 * 3) Create one 3D Command Button (Command3D1) and one text box (Text1) on the form (Form1).
 * 4) Set the Outline property of Command3D1 to False.
 * 5) Press F5 to run the application. Press TAB to move the focus between the two controls on Form1.

When the Command3D1 button does not have the focus, an outline does not appear. When the Command3D1 button has the focus, an outline appears around the control, even though the Outline property is set to False. This behavior is by design.

Additional query words: 1.00 2.00 3.00

Keywords: kbprb KB81951

-

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

© Microsoft Corporation. All rights reserved.