The information in this article applies to:
SYMPTOMSShowing a modal form in the Form_Load event of a different form causes any SSTab controls on the modal form to ignore all mouse and keyboard commands. This problem occurs with both the 16-bit and 32-bit SSTab OCXs. RESOLUTION
This problem occurs only when the tab control is on a form that is shown
modally during the load event of another form. To avoid this problem,
either show the form non-modally, or show the form modally, but in an event
other than the Form_Load event of the first form. Alternatively, one can
emulate the appearance of showing the second form modally using a scheme
similar to the one outlined below, although any code placed in the
Form_Load event will be executed because execution will not pause when the
second form is shown. This should be taken into account if code is written
using this method. The following code fragment makes the first form
invisible and then shows the second form. When the second form is unloaded,
one line of code in the Unload event of the second form makes the first
form visible again. Sample Code
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed
at the beginning of this article. MORE INFORMATIONSteps to Reproduce Behavior
REFERENCESFor additional information, please see the following article in the Microsoft Knowledge Base: Q145638 FIX: Cannot Select Sheridan Tab Control from Modal Form Additional query words: kbVBp400bug kbVBp500fix kbVBp kbdsd kbDSupport kbCtrl
Keywords : kbVBp400bug kbVBp500fix kbGrpVB |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |