Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preview in a desktop window
Message
From
20/10/2000 11:08:39
 
 
To
20/10/2000 09:39:33
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00431990
Message ID:
00432087
Views:
21
Sorry, but how does that from what I've done?

How do you create a desktop form?

>Hi Jason,
>Create a DeskTop Form. Size it as required. Instantiate it, but don't show it.
>REPORT FORM (FRXName) WINDOW DeskTopForm.Name
>
>>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
>>
>>********************************
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform