PRB: Controls Show on All Pages in Tabbed Dialog ControlLast reviewed: June 3, 1997Article ID: Q169512 |
The information in this article applies to:
SYMPTOMSWhen a Visual FoxPro control, such a text box or command button, is placed on a page of the Microsoft ActiveX Tabbed Dialog Control, version 5.0, it shows on all pages of the Tabbed Dialog Control. This is true even if the Tabbed Dialog Control is put in edit mode before placing the Visual FoxPro control on it.
RESOLUTIONUse the Visual FoxPro PageFrame base class or the SSTab Object ActiveX control that shipped with Visual FoxPro 5.0--version 4.01.0000 of Tabctl32.ocx. If Visual FoxPro 5.0a has been installed and the ActiveX controls have been updated to the ones that it installs, the older SSTab Object control can replace the newer version. Before following the steps below to do this, be sure to consider whether or not there are other applications, like Visual Basic 5.0, that may make use of the Microsoft Tabbed Dialog Control, version 5.0.
STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONWhen adding a control to a Visual FoxPro PageFrame or the Tabbed Dialog Control, a common mistake is to not put the PageFrame or tabbed dialog into edit mode by right-clicking it and selecting Edit from the Shortcut menu. Controls placed on the Microsoft Tabbed Dialog Control, version 5.0, show on all pages of the control even if it was placed in edit mode before adding the control to the page. This does not happen with the SSTab Object ActiveX control that shipped with Visual FoxPro 5.0 or the Visual FoxPro PageFrame base class. Controls placed on the Microsoft Tabbed Dialog Control, version 5.0, in Visual Basic 5.0 show only on the page they are placed on. As it was mentioned above, version 5.0 and 5.0a of Visual FoxPro install different versions of the tabbed dialog ActiveX control. Both .ocx files are named Tabctl32.ocx. Visual FoxPro 5.0 installs version 4.01.0000 of Tabctl32.ocx file and Visual FoxPro 5.0a installs version 5.00.3714. To check the version, find and select the Tabctl32.ocx in the WinNT\System32 or Win95\System folder and select Properties from the File menu, shortcut menu (if right-clicked) or press ALT+Enter with the file selected. You can also check the ActiveX controls loaded in the Controls tab in the Tools, Options dialog box. Version 4.01.0000 of Tabctl32.ocx will show up as SSTab Object in the list of controls. Version 5.00.3714 will show as Microsoft Tabbed Dialog Control, version 5.0. ActiveX controls are normally placed on Visual FoxPro forms using the OLE Container Control.
Steps to Reproduce Behavior
|
Keywords : FxinteropOcx vfoxwin
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |