Thanks, Cindy!
>>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