Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SCREEN=OFF...
Message
From
16/12/1996 10:49:13
 
 
To
15/12/1996 07:32:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00014999
Message ID:
00015213
Views:
30
>>>
>>>do _screen.windowstate=2
>>>when u want the screen to show
>>>(btw this is required if you want to preview a report and use a top level form)
>>>
>>>Arnon
>>Actuall, it isn't required. There is a new Window clause for the report preview function that will display it in the window you specify.
>
>I thought so to - but was stunned to find out that the preview window will indeed take the charecteristics of that window but will display it in the main VFP window
>I was more stunned to discover this behaviour is by design
>
>Arnon

From the VFP 5.0 Help file:

"You can include the optional WINDOW clause to specify a window in which the report is previewed. WindowName can be the name of a window created with DEFINE WINDOW or a form."

I just tried this and it does work as described without activating _SCREEN. I created a top level form and previewed the report in it.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform