Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preview in a desktop window
Message
De
24/10/2000 09:42:50
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
 
 
À
23/10/2000 14:38:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00431990
Message ID:
00433427
Vues:
25
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform