Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Screen=off ??
Message
From
28/05/1998 14:42:03
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00102435
Message ID:
00102854
Views:
28
>Let me try to get straight what you want to accomplish. I will assume (for the purpose of expediting this discussion) that you want the user to click on your application, then you want the main window to appear with their title at the top and you want the screen to be set a 640x480.
>
>In your CONFIG.FPW (compiled into the EXE) you will need at least one line:
> SCREEN = OFF
>
>Then, among the first lines in your program you will put:
> USE options
> _screen.caption = options.title
> USE
>
> _screen.width = 640
> _screen.height = 480
> _screen.visible = .t.
>
>Does that take care of everything?
>
>HTH.
>
>>>>>Robert,
>>>>>
>>>>>You can say _SCREEN.Visible=.F., but the screen will appear initially between the time you start your program and the time it hits the first line of code.
>>>>>
>>>>>>I have been putting SCREEN=OFF in the config.fpw. I would like
>>>>>>to take it out of the config.fpw and put it in the program code.
>>>>>>Where and how would I code this?
>>>>--
>>>>hi Josh
>>>>I tried putting _SCREEN.Visible=.F. in my main.prg, but the screen stills
>>>>grows to full size. maybe i can start the screen out as full size.
>>>>any other ideas? :)
>>>
>>>If you don't want the screen to show at all, then you're pretty much stuck with the config.fpw and SCREEN = OFF. If the issue is one of having to distribute the config.fpw with the executable, you can get around this by including the config.fpw in the project. This will compile any settings in the config.fpw directly into the executable. Maybe VFP6 will have another option...
>>---
>>hi ryan...
>>in my config.fpw, i have: TITLE = mytitle.. i can not compile the config.fpw.
>>the users need to be able to type in the title for their different areas.
>>I guess I will have to see what vfp6 brings... thanks
---
hi Curtis and thanks for answering...
What I wanted to do is to put SCREEN = OFF in the program code instead of the
CONFIG.FPW. I can see that is not possible in vfp50. :)
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform