Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to dock Print Preview toolbar?
Message
 
 
To
31/08/1998 16:39:11
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00131663
Message ID:
00131672
Views:
23
>
>The idea is following:
> Report Form ... Preview Nowait
> if wexist("Print Preview")
> move window 'Print Preview' to 10,10
> mouse dblclick at 11,11
> endif

ED,

Thanks for the fast response. I tried your idea with little success. Maybe you could look at the following and tell me where I am going wrong:

KEYBOARD "{CTRL+F10}"
loReportForm = CREATEOBJECT('Form')
loReportForm.Name = 'ReportForm'
loReportForm.Caption = "Asset Depreciation Short Report"
REPORT FORM Report02a PREVIEW WINDOW ReportForm
IF wexist("Print Preview")
MOVE WINDOW 'Print Preview' TO 10,10
MOUSE DBLCLICK AT 11,11
ENDIF

I have to preview the report in a window to keep the Title bar from producing the REPORT DESIGNER - Report02a.frx . This works well, but causes a loss of space, so I was trying to compensate by automatically having the tool bar docked on entry.

Thanks,
John
John Fatte'

Life is beautiful!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform