PRB: 3D Command Button Shows Outline when Outline = False
ID: Q81951
|
The information in this article applies to:
-
Microsoft Visual Basic Professional Edition for Windows, versions 2.0, 3.0
-
Microsoft Professional Toolkit for Microsoft Visual Basic programming system for Windows, version 1.0
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
- 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.
- 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.
- Create one 3D Command Button (Command3D1) and one text box (Text1)
on the form (Form1).
- Set the Outline property of Command3D1 to False.
- 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 :
Version : WINDOWS:2.0,3.0; :1.0
Platform : WINDOWS
Issue type :