PRB: Tabbing Problem When Sheridan SSTab Control Hosts OCXsLast reviewed: July 14, 1997Article ID: Q154885 |
The information in this article applies to:
SYMPTOMSIf the SSTab control is used to host OCXs, then the OCX controls remain in the tab order regardless of whether their host tab is the current tab. When the user tabs to these controls, it appears that no control has the focus. This behavior does not occur with intrinsic controls.
WORKAROUNDDisable the TabStop property of all controls hosted by the SSTab control that do not appear on the current tab. See the More Information Section below for steps to work around the problem.
MORE INFORMATIONThe SSTab control maps hosted controls off the left edge of the form, when they are not on the current tab, and maps them back onto the form when necessary. You can use this behavior to help determine whether a control is able to obtain the focus. If the control's Left property is negative, then the control should not be able to get the focus.
Steps to Reproduce and Work Around Problem
Note that the above workaround assumes that the controls are children of the SSTab control and not the children of container controls contained by the SSTab (such as PictureBoxes).
STATUSThis behavior is by design.
REFERENCESFor more information, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q150417 TITLE : PRB: Read-Only SSTab Does Not Display Child Controls Properly |
Keywords : PrgCtrls vb4all vb4win
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |