PRB: Form Goes "White" when Viewing Tab Order with SSTab Control

Last reviewed: April 10, 1997
Article ID: Q166512
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 5.0, 5.0a

SYMPTOMS

When viewing the tab order of objects on a form, the whole form turns white and none of the objects are visible. If the tab order is being viewed by list, the form goes back to normal when the OK or Cancel button is clicked in the Tab Order dialog box. If you are viewing the tab order interactively, you must choose another object in the Object drop-down list of the Properties sheet for the form to come back to normal.

RESOLUTION

If you are using the SSTab Control or the Microsoft Tabbed Dialog Control in Visual FoxPro, view the tab order by list. If the tab order is viewed interactively, the objects are not visible for setting the tab order.

Alternately, the Visual FoxPro PageFrame object could be used instead of the ActiveX control.

STATUS

Microsoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

To change how the tab order of objects on a form is viewed, select Options from the Tools menu, and click the Forms tab. Tab Ordering is in the top right corner. This can be changed while a form is open in design mode and the change takes effect the next time the tab order is viewed.

Steps to Reproduce Behavior

  1. In Visual FoxPro, create a new form.

  2. Place an OLE Container Control on the new form.

  3. In the Insert Object dialog box that appears when the OLE Container Control is added, select the Insert Control radio button on the left.

  4. From the list of controls, select the SSTab Object (if using Visual FoxPro 5.0) or the Microsoft Tabbed Dialog Control, version 5.0 (if using Visual FoxPro 5.0a) and click OK.

  5. Right-click the control when it appears on the form and select Edit from the shortcut menu that appears.

  6. While the Tab control is in edit mode, place a label and a text box on the first tab (page) of the control. In the Property sheet, verify that OLEControl1 is the currently selected object by looking in the Object drop-down list. The label1 and text1 should be indented under OLEControl1.

  7. Now select Tab Order from the View menu. If it is set to By List, the Tab Order dialog box appears. Note that the form goes white--all the objects disappear. Click OK or Cancel and the objects will come back. If the tab order is set to be viewed interactively, the form goes white-- all the objects disappear. To get them back, select an object other than OLEControl1 in the Properties sheet Object drop-down list.

REFERENCES

For information on additional features and problems with the SSTab Control, see the following articles in the Microsoft Knowledge Base:

   ARTICLE-ID: Q157761
   TITLE     : How To Use the ActiveX Control SS Tab Object Properties

   ARTICLE-ID: Q158757
   TITLE     : PRB: TabPicture Property of SSTab Control Gives an OLE Error

   ARTICLE-ID: Q161972
   TITLE     : PRB: Displaying a Modal Form Causes the SSTab Control to
               Blank

   ARTICLE-ID: Q162251
   TITLE     : PRB: Closing a Top-Level Form Hangs Visual FoxPro

   ARTICLE-ID: Q166139
   TITLE     : HOWTO: Display Graphic on Each Tab of SSTab at Runtime
 

	
	


Keywords : FxinteropOcx FxtoolFormdes vfoxwin
Technology : kbole
Version : 5.0 5.0a
Platform : WINDOWS
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.