Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any option(in menu) can be set to change the project cap
Message
 
 
To
08/05/2001 22:20:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00505095
Message ID:
00505112
Views:
21
>I want to ask if there is an option to modify the project caption like (... _screen.caption ="prjoct2"
>
>I have try to (new a project from file) and add *.SCX and *.FRM to the new project but the new project still get the old project caption.
>
>I wonder if any file store the project caption name.
>Thanks for any help.

You can do this is a constants file. For all my apps, I have a constants file called DEFAULTS.H In your constants file, put a line like the following:

#DEFINE SCREEN_CAPTION "prjoct2"

In your main.prg file --

_screen.caption = SCREEN_CAPTION

Each one of my apps is in its own development folder and has a copy of the DEFAULTS.H constants file. All you have to do is change the definition of SCREEN_CAPTION in eahc DEFAULTS.H file. When you compile, the screen caption will have what you defined SCREEN_CAPTION to be.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform