Changing a Dialog Title in a FoxPro for Windows .EXE File

Last reviewed: June 27, 1995
Article ID: Q100800
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a

SUMMARY

By default, the text "FoxPro for Windows" appears in the title bar of dialog boxes when an .EXE file is executed. You can change this text by including TITLE=<title name> (FoxPro version 2.5) or TITLE = "<title name>" (FoxPro version 2.5a) in the CONFIG.FPW file. Note that if you change the text in the TITLE line in the CONFIG.FPW file, the title of the FoxPro Desktop will also be changed in .EXE files created with the FoxPro Distribution Kit.

MORE INFORMATION

For example, if the CREATE REPORT command is issued in a FoxPro for Windows executable file, when you choose Close from the File menu, a dialog box comes up asking whether or not to save changes. The title bar of this dialog box says "FoxPro for Windows."

To change this title, include the statement TITLE=<title name> in the CONFIG.FPW file. For example, if the statement TITLE=MYAPP is in the CONFIG.FPW file, when the dialog box comes up asking whether or not to save changes, the title "MYAPP" will appear in the title bar of the dialog box.

To accomplish the same result in FoxPro version 2.5a for Windows, add the following command to your CONFIG.FPW file:

    TITLE = "MYAPP"


Additional reference words: FoxWin 2.50 2.50a
KBCategory: kbenv kbprg
KBSubcategory: FxenvConfigfp


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.