BUG: Status Bar Doesn't Change on Wizard-Generated Screens

Last reviewed: June 27, 1995
Article ID: Q121438
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.6, 2.6a
  • Microsoft FoxPro for MS-DOS, versions 2.6, 2.6a
  • Microsoft FoxPro for Macintosh, version 2.6a

SYMPTOMS

The message displayed in the status bar when you choose a button in a screen generated by the Screen Wizard does not change when the prompt displayed on the button has been changed.

For example, choosing the Edit button changes that button's prompt to Save. However, choosing the Save button still displays "Edit current record" in the status bar.

NOTE: In FoxPro for MS-DOS, the message is displayed at the bottom of the screen instead of in the status bar.

CAUSE

When the Screen Wizard generates the screen and builds the @ ... GET fields, it adds a MESSAGE clause that is relevant to only one of the prompts for a given button. Because there is no such thing as a "dynamic GET" that would allow this message to change on the fly, the message does not change with the button prompt. This behavior occurs because of a problem with the Screen Wizard and FoxPro's inability to change messages on the fly.

For additional information about how to display unique messages for push button prompts, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q104347
   TITLE     : Displaying Unique Messages for Prompts in a Button Set

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

  1. From the Run menu, choose Wizard. Choose Screen.

  2. Choose the Open button. Select CUSTOMER.DBF from the TUTORIAL subdirectory in the main FoxPro directory. Choose the Open button.

  3. Choose the Finish button.

  4. When prompted for a screen title, select Save And Run Screen. Choose the Finish button.

  5. When prompted to save the screen, accept the default of CUSTOMER.SCX and choose the Save button.

  6. When the newly generated screen is displayed, choose the Edit button. Note that the prompt for that button changes to Save.

  7. Click the Save button, holding down the mouse button (do not release the button).

Note that the message displayed in the status bar is "Edit current record" instead of "Save current record."


Additional reference words: FoxMac FoxDos FoxWin 2.60 statusbar buglist2.60
buglist2.60a
KBCategory: kbui kbdisplay kbtool kbbuglist
KBSubcategory: FxtoolWizscreen


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