Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preview in a desktop window
Message
From
24/10/2000 09:42:50
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:
00433427
Views:
24
Fred, you specified a WindowState = 2, which maximizes the form. You need a DeskTop = .T. as in:
oPreview = NEWOBJECT("Form")
oPreview.DeskTop = .T.
oPreview.Caption = "Preview - " + ThisReport.Name
oPreview.SizeOrMaximize() && Figure out the size.
REPORT FORM (FRXName) WINDOW (oPreview.Name)
oPreview.Release()
You need not Show the form.


>>Ok, but...
>>
>>After making the form appear on the desktop, the report still insists on appear within the FoxPro frame.
>>
>>Any ideas?
>>
>>By the way, its VFP5. Don't know if VFP6 would help.
>>
>>
>
>Works the way I showed you in VFP6. I don't have VFP5 installed anymore, sorry.
>
>
>
>>>>Sorry, but how does that from what I've done?
>>>>
>>>>How do you create a desktop form?
>>>>
>>>
>>>All you've done is modify the main VFP screen. You need to create a form object and put your preview in in it.
>>>
>>>oForm = CREATEOBJECT("Form")
>>>oForm.WindowState = 2
>>>oForm.Caption = "Whatever you need to see"
>>>oForm.Show()
>>>REPORT FORM (FRXName) WINDOW oForm.Name PREVIEW
>>>oForm.Release()
>>>
>>>
Charlie
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform