Microsoft KB Archive/166512

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

Article ID: 166512

Article Last Modified on 8/26/1999

-

APPLIES TO


 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q166512



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.

