Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preview in a desktop window
Message
From
20/10/2000 05:15:51
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Preview in a desktop window
Miscellaneous
Thread ID:
00431990
Message ID:
00431990
Views:
46
The minimum monitor resolution we support is 800x600, so I like to develop our simple little apps to maximise to this screen resolution. All is fine except for the reports. How can I use all the screen for the report if your have a greater resolution?

According to the help, the following code should work - but it doesn't. It defines a window in the desktop but displays the report within the FoxPro frame.


Any ideas or suggestions would be appreciated


********************************
on shutdown clear events

with _screen
.autocenter = .t.
.windowstate = 0
.top = 200
.left = 500
.height = 500
.width = 500
endwith

=inkey(1)
define window WindowName1;
from 0, 0 to 25, 25;
in desktop

activ window WindowName1
=inkey(1)

use in select("Cursor1")
create cursor Cursor1 ( Field1 c (1))
append blank
replace Field1 with "A"

set safety off
create report report1 from Cursor1 fields Field1
set safety on

report form report1 preview window WindowName1 noconsole

deactivate window WindowName1

on shutdown clear events
read events
on shutdown

********************************
Next
Reply
Map
View

Click here to load this message in the networking platform