PRB: Altering a Button's Tab Order Causes Illegal Operation

Last reviewed: January 21, 1998
Article ID: Q176042
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 5.0, 5.0a

SYMPTOMS

When you edit a property in the Properties window, after changing a button's Tab Order in a toolbar class, a General Protection Fault (GP fault) error occurs.

RESOLUTION

On the Main menu, click Tools and Options to open the Options dialog box. Click the Forms tab, and then change the Tab Order to By List instead of Interactive.

STATUS

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

MORE INFORMATION

This error also occurs when you edit a property in the Properties window of Form Designer after you make changes to the Tab Order of a subclassed toolbar.

Steps to Reproduce Behavior

  1. In the Command window, type the following command to create a toolbar class:

          CREATE CLASS myclass OF tool AS Toolbar
    

  2. Add two command buttons to the toolbar.

  3. On the View menu, choose Tab Order.

  4. Click the first command button, and then click the second command button to change the tab order.

  5. Click any of the properties in the Properties window and the following error occurs:

          [ASCII 147]This program performed an illegal operation and will be
          shut down.[ASCII 148]
    


Additional query words:
Keywords : FxprgClassoop vfoxwin
Version : WINDOWS: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: January 21, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.