FIX: Cannot Select Sheridan Tab Control from Modal Form (145638)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q145638 SYMPTOMS
When showing a Modal form containing the Sheridan Tab control from the Load
event of another form, none of the Tabs on this dialog box can be selected.
RESOLUTION
Instead of showing the second form from the Load event of another form,
show the form in the Activate event. The following code could be used as a
workaround:
Private Sub Form_Activate()
Static AlreadyShown As Boolean
If Not AlreadyShown Then
Form2.Show vbModal
End If
AlreadyShown = True
End Sub
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug has been fixed in Visual Basic
5.0 and 6.0.
REFERENCES
For more information, please see the following article in the Microsoft
Knowledge Base:
149274 BUG: SSTab Is Locked When on Modal Form Shown at Load Time
Modification Type: | Major | Last Reviewed: | 12/9/2003 |
---|
Keywords: | kbbug kbfix KB145638 |
---|
|