ID Number: Q73653
1.00
WINDOWS
buglist1.00
Summary:
If you delete the SUB and END SUB (or FUNCTION and END FUNCTION) lines
in a user-defined procedure and leave one or more blank lines in
that procedure's code window, the procedure name remains in the combo
box containing the procedure names (hereafter referred to as the
procedure combo box).
Also, if you delete the SUB and END SUB lines for a standard Visual
Basic event procedure and you leave one or more blank lines, the code
will remain blank for that procedure instead of returning to the
standard SUB and END SUB syntax for that event.
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. From the File menu, select New Project (ALT, F, N).
2. Double-click on the default form (Form1).
3. From the General Declarations section of Form1, do the
following:
a. Type "Sub MySub" (without the quotation marks) and press ENTER.
b. Insert a least one blank line between the SUB ... END SUB
statements.
c. Delete just the statements Sub MySub () and End Sub, and leave
at least one blank line between them.
The procedure name MySub will still appear in the procedure combo box;
however, when you switch to the code window for the procedure, it will
appear to be empty. The blank line that was added in step 3.b. above
will still be present.
To remove the procedure name MySub from the procedure combo box,
delete all of the blank space within the code window.
Additional reference words: 1.00