How to Suppress "Microsoft FoxPro" in Title Bar of .EXE

ID: Q117641

2.50a 2.50b 2.60 | 2.50b 2.50c

WINDOWS          | MACINTOSH
kbprg

The information in this article applies to:

NOTE: This does not apply to FoxPro 2.5 for Windows.

In a distributed application, you may want to completely suppress the title that appears in the title bar of the FoxPro desktop window. You can do this programmatically by using the MODIFY WINDOW SCREEN command and including the keyword TITLE followed by a character string expression for the title. However, the MODIFY WINDOW SCREEN command changes the main desktop title only after the executable program has complete control. As a result, the Microsoft FoxPro title is briefly displayed in the title bar before it is replaced by the new title specified with the MODIFY WINDOW command.

To work around this behavior, you must change the title of the desktop window before program control begins. The only way to do this is to use the TITLE = command in the CONFIG.FPW or CONFIG.FPM configuration file. For example:

   TITLE = This is my title

NOTE: Do not enclose the application title in quotation marks. If quotation marks are used, they are considered part of the title and will be displayed in the title bar along with the text of the title.

Adding the TITLE = command to a configuration file used by a distributed executable program will suppress the Microsoft FoxPro title completely and retain the specified title until it is changed under program control. Adding this line to a configuration file used by FoxPro will suppress the Microsoft FoxPro title in FoxPro for Windows and FoxPro for Macintosh.

NOTE: This command will not have quite the same effect in the FoxPro development environment. Although it will change the title of the desktop, the Microsoft FoxPro title bar will be briefly displayed at first.

Additional reference words: VFoxWin 3.00 FoxMac FoxWin 2.50a 2.50b 2.50c 2.60 flash KBCategory: kbprg KBSubcategory: FxenvConfigfp

Keywords          : kbenv FxenvConfigfp 
Version           : 2.50a 2.50b 2.60 | 2.50b 2.50c
Platform          : MACINTOSH WINDOWS

Last Reviewed: May 13, 1998