Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making top level form active
Message
From
01/04/2003 11:56:13
Larry Huisingh
Lockheed Martin Information Technology
Richland, Washington, United States
 
 
To
01/04/2003 03:45:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00768739
Message ID:
00772467
Views:
21
>>I have a single form called from a PRG. It is set up as a top level form. I also set _SCREEN.Visible=.f. at the top of my PRG. The problem is that when I run the executable I create I see the form (with no desktop, as desired) but I have to click on the screen to make it active. I have mostly done FPW apps so I'm not that fluent in the basics of VFP 6. What do I need to add to make the form active?
>
>I heavily work with SDI forms and never had this problem. However I don't do that the way you do. I think your problem is using :
>_screen.visible = .f.
>
>What I do is to have a config.fpw with :
>screen = off
>
>Cetin

I thought of that and tried it but I have more than one program in the same directory. I don't want all apps to have the screen invisible. That's why I put it in the code.

I wound up putting the code in the screen's Activate event code.
Larry Huisingh
Lockheed Martin Information Technology
Richland WA USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform