VB.EXE Cursor Lost in Text Box after Restart

ID Number: Q80408

1.00

WINDOWS

buglist1.00

Summary:

A text box cursor (or caret) will disappear while you are developing

an application in the Visual Basic environment (VB.EXE) if you choose

Restart from the Run menu and the GotFocus event procedure prints

information to the Immediate window.

Microsoft has confirmed this to be a problem in 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:

Steps to Reproduce Problem

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

1. Run Visual Basic, or from the File menu, choose New Project if

Visual Basic is already running. Form1 will be created by default.

2. Place two text box controls (Text1 and Text2) on Form1.

3. Place the following code in the GotFocus event procedure for Text1:

Sub Text1_GotFocus ()

Debug.Print "Gotfocus"

End Sub

4. Place the following code in the GotFocus event procedure for Text2:

Sub Text2_GotFocus ()

Debug.Print "Gotfocus"

End Sub

5. From the Run menu, choose Start (ALT, R, S).

6. From the Run menu, choose Restart.

7. Press the TAB key to shift focus from Text1 to Text2. The text box

cursor will flash for a moment and then disappear.

Additional reference words: 1.00