Incorrect Control Has Focus After Property Bar Error

ID Number: Q76632

1.00

WINDOWS

buglist1.00

Summary:

When changing the setting of a property in the Properties bar, you can

commit the change by pressing ENTER, by clicking on the check button,

or by clicking on another part of the screen. However, if you click on

another control or on the form and the setting that you changed

produces an error, the control that has the error will not have the

focus (or it won't be selected with the sizing handles).

Microsoft has confirmed this to be a problem with 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 choose New Project from the File menu (ALT, F,

N). Form1 will be created by default.

2. Place two command buttons (Command1 and Command2) on Form1.

3. Click on Command1 to select it. Change its CntlName property

to "COMMAND" (without the quotation marks). Do not press ENTER or

click on the Properties Bar check button.

4. Click on Command2.

With Command2 selected, the error message "Not a legal object name:

'Command'" will be displayed. Command1 should have been selected

because it was the control that caused the error. If the change was

committed by pressing ENTER, by clicking on the check button, or by

clicking on another part of the screen other than the controls or the

form, then Command1 will have the focus.

Additional reference words: 1.00