>Is there any way to keep the user from minimizing a report preview window?
>Similar to how forms can be controlled with the code
[Thisformset.setall("minbutton .f.")] which prohibits reduction of all forms in a form-set. It appears that "setall" has no effect on report preview.
>I tried creating a "window" (without the min. attribute) to run the report in , but this does not provide the tool-bar and other features contained in the Visual FoxPro 6 Report Preview.
[SNIP]
oForm = CREATEOBJECT("Form")
WITH oForm
.Caption = "Preview Title"
.WindowState = 2
.Show()
REPORT FORM yourReport PREVIEW WINDOW (.Name)
.Release()
ENDWITH
-----------------------------
Fred Taylor
ftaylorREMOVETHIS@mvps.org Microsoft Visual FoxPro MVP
News: microsoft.public.fox.vfp.reports.printing
Subject: Re: Report preview window size control
Date: 05/19/2002
[SNIP]
Hope this Helps