Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where is config.fpw supposed to go? Mine doesn't work...
Message
From
02/11/1999 19:43:10
 
 
To
02/11/1999 18:59:08
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00285837
Message ID:
00285858
Views:
16
>Hi Bridget,
>
>>My config.fpw file contains only the following 3 lines:
>>_SCREEN.VISIBLE=.F.
>>_SCREEN.CAPTION="Loan Management System"
>>_SCREEN.WINDOWSTATE=2
>
>
>Change these lines to
>
>SCREEN = OFF
>TITLE = Loan Management System
>
>The Config isn't actual code. Then in your main program you will have to maxize it and show it later on. Try the TITLE line with and without Quotes (I'm sorry I can't remember).

Thanks, Mike. I changed those lines, and now it works (except for the windowstate, which I guess I can just move to the main program before setting the screen visible).

Interesting that the following bit appears in the docs:



To set system variables in a configuration file

Enter the name of the system variable, an equal sign (=), and the value to set the variable to.
For example, the following command sets the caption of the main Visual FoxPro window:

_SCREEN.Caption = "My Application"

Bridget K. Dawes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform