BUG: Pressing TAB Key on Form Does Not Change Focus (179707)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q179707 SYMPTOMS
An ActiveX control is created using Visual Basic and compiled into an OCX
file. The compiled OCX is then referenced in a Visual Basic standard EXE
project. When the standard EXE project is run in the IDE, tabbing between
the controls on the form and the ActiveX control results in a beep and the
focus does not change. This problem occurs after the ActiveX control has
shown a modal form.
RESOLUTION
This problem only occurs when a project in the IDE references the compiled
OCX; the problem does not occur when the project is made into an EXE.
To work around this problem, create a project group and reference the
ActiveX control from the ActiveX control project. Reference the compiled
version of the ActiveX control just before you compile your Visual Basic
project.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbbug KB179707 |
---|
|