BUG: Caret Disappears After Tabbing From a Windowless TextBox (195235)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q195235 SYMPTOMS
When you shift focus from a Windowless TextBox on a Windowless UserControl
to a standard TextBox on a form, the caret is not visible in the form's
TextBox. The form's TextBox has the focus and the keyboard input will be
directed to the TextBox, but the caret is not present.
RESOLUTIONResolution #1
Set the Windowless property of the UserControl to False.
Resolution #2
Invoke the SetFocus method in the GotFocus event of the TextBox. For
example:
Private Sub Text1_GotFocus()
Me.SetFocus
End Sub
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
REFERENCES
For additional information, please see the following article in the
Microsoft Knowledge Base:
189950 HOWTO: Install the Microsoft Windowless Controls for VB6
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbBug kbCtrl KB195235 |
---|
|