ACC97: Keyboard Does Not Respond When TreeView Control Has Focus
ID: Q170413
|
The information in this article applies to:
SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
You are unable to type data into a text box or combo box on a tab control
that contains a TreeView control on another page. However, you are able to
set the value of the text box or combo box with a macro or with Visual
Basic for Applications code. This behavior only applies where the TreeView
control is on a sub-form and that sub-form is on the Tab control.
NOTE: In addition to the TreeView control, the symptoms discussed in
this article have also been reported for the ListView ActiveX control.
CAUSE
The TreeView control has the focus.
RESOLUTION
If possible, in Design view, place the TreeView control directly onto the
Tab control page. If the TreeView control must be on a subform, move the
focus by clicking a control on the page that contains the TreeView
control, or close and reopen the form.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access 97.
MORE INFORMATION
Steps to Reproduce Problem
- Open the sample database Northwind.mdb.
- Create a new form not based on any table or query in Design view.
- On the Insert Menu, click ActiveX Control.
- In the ActiveX Control dialog box, select Microsoft TreeView Control
and click OK.
- Create an unbound text box on the form.
- Close and save the form as TreeViewTest.
- Create a new form not based on any table or query in Design view.
- Create a tab control on the form.
- Click Page1 and create two unbound text boxes on this page.
- Click Page2.
- Press F11 to view the Database window. Select the TreeViewTest form and
drag it onto the Page2.
- Switch to Form view.
- Click Page2 and then click the TreeView control.
- Click Page1.
Note that you are unable to type any data into the text boxes. However, if
you click Page2 and then click the text box on this page to move the focus
away from the TreeView control, you can return to the Page1 and type data
into the text boxes.
REFERENCES
For more information about the tab control, search the Help Index for "tab
controls, creating" and then select "What's New for Developers: Tab
Control."
Additional query words:
keyboard respond
Keywords : kbusage
Version : 97
Platform : WINDOWS
Issue type : kbbug