PRB: Unable to Change Tab Order of Objects in Form

Last reviewed: November 14, 1995
Article ID: Q139267
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0

SYMPTOMS

When working in the Form Designer, you are unable to change the tab order for some objects.

CAUSE

You have objects that are part of one or more container classes, such as pageframes or formsets, and you are not editing those container classes.

RESOLUTION

To change the tab order for objects that are participating in a container class, you must drill down through the object hierarchy to gain access to the objects.

STATUS

This behavior is by design.

MORE INFORMATION

To be consistent with the Visual FoxPro design methodology, you must gain access to the objects through their hierarchy. If you want to change the tab order for objects contained on a page in a pageframe, for example, you must edit the pageframe, and choose the page where you want to make the changes. This is true whether the tab order is changed interactively or through the list object.

Steps to Reproduce Behavior

  1. Create a new form.

  2. Place two or three text boxes on the form.

  3. Add a pageframe to the form.

  4. Edit the pageframe, and on page 1, place two or three check boxes.

  5. Click the form so that it is the currently-selected object.

  6. On the View menu, click Tab Order to change the tab order of the objects.

If on the tools menu, you clicked Options, and then you clicked the Interactive option on the Form tab, you will be able to change only those objects that are physically on the form at the highest level. The same will be true if you chose the List method for changing tab orders.

To change the tab order of the objects on the pageframe's page, you must first edit the pageframe and select page 1. Then you should have access to the objects contained within the pageframe.


Additional reference words: 3.00 VFoxWin
KBCategory: kbtool kbprb
KBSubcategory: FxtoolFormdes


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: November 14, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.