Microsoft KB Archive/100800

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

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


Last Reviewed: June 27, 1995
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.