ShowWindow = 2 && 2 - As Top-Level FormSo now I can send the report to this form:
Do Form RepForm Name MyPreview Noshow MyPreview.WindowState = 2 && maximize the form MyPreview.Show() Report Form (whatrep) Preview Window (MyPreview.Name) Noconsole To Printer Prompt MyPreview.Release()The problem is that I cannot find a way to dock the preview toolbar. I tried using a resource file, but it does not use it when ShowWindow = 2. Is there a way to dock it by perhaps entering some code into the form?