Focus on VB 3D Command Button May Outline when Outline = False

ID Number: Q81951

1.00

WINDOWS

buglist1.00

Summary:

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 focus.

Microsoft has confirmed this to be a problem in Microsoft Professional

Toolkit for Microsoft Visual Basic programming system version 1.0 for

Windows. We are researching this problem and will post new information

here as it becomes available.

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 Problem

--------------------------

1. Run 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 focus, an outline does not

appear. When the Command3D1 button has focus, an outline appears

around the control, even though the Outline property is set to False.

Additional reference words: 1.00