BUG: SSCommand Button Loses Focus Rectangle (149265)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q149265 SYMPTOMS
When an SSCommand button exists on a form with other controls that are also
provided by the Sheridan 3D Control OCX (THREED16.OCX or THREED32.OCX), the
SSCommand button may not always display a focus rectangle to indicate that
it has the focus. This problem occurs when the SSCommand button has both
its Default property set to True and has a picture set in its Picture
property.
RESOLUTION
To work around this problem, issue a refresh to the SSCommand button when
it receives the focus. To implement this fix, insert the following code
into the project, changing the control name to reflect the name of the
SSCommand button used in the project:
Private Sub SSCommand1_GotFocus()
SSCommand1.Refresh
End Sub
STATUS
Microsoft has confirmed this to be an issue in the Microsoft products
listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 6/28/2004 |
---|
Keywords: | kbBug kbCtrl KB149265 |
---|
|