Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need a reference to Print Preview toolbar
Message
From
02/03/2001 09:44:05
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
01/03/2001 13:52:19
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00481067
Message ID:
00481349
Views:
12
>How do I get a reference to the Print Preview toolbar?
>Can I programmatically add and remove buttons from this toolbar?

Steve,

What you should do is change your resource (FoxUser) file to a special one called something like FoxUserPP.DBF. Then, using View | Toolbars | Customize, make the Print Preview toolbar visible and add or remove buttons as necessary. Then switch back to your regular FoxUser. Build the FoxUserPP.DBF into your app.

In your application, just before you print,
lcOldResource = SYS(2005)
SET RESOURCE TO FoxUserPP.DBF
REPORT FORM....
SET RESOURCE TO &lcOldResource
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform