PRB: Focus on the Tab Control Changes to an Inactive TabLast reviewed: December 23, 1997Article ID: Q178469 |
The information in this article applies to:
SYMPTOMSWith the Microsoft Tabbed Dialog (tabctl32.ocx), focus may shift to a control on an inactive tab.
CAUSEThis problem may occur with the tabbed dialog when one of the tabs has a container control, such as a frame or picture control.
RESOLUTIONTo work around this problem, disable the controls on inactive tabs so that they will not be in the tab order. You can disable the controls in the Click event of the tab control. For example:
Private Sub SSTab1_Click(PreviousTab As Integer) Dim c As Control For Each c In Controls If (c.Container Is SSTab1) Then c.Enabled = (c.Left >= 0) End If Next End SubNOTE: When a control contained in an SSTab control is on an inactive tab, the Left property of the control is negative.
STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior
|
Additional query words: tabctl32.ocx tab dialog tabstrip tab strip sstab
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |