Take a look at faq#7876 Providing Toolbars in Your App.
>I have this form that will be the "standard" "call up report" form. It has three buttons: print, preview and cancel.
>In the init method, I have defined a window called my_preview.
>in the event the the user presses the preview button the report will open in the my_preview window.
>
>That part works It's just that I don't have the Print preview toolbar on the window.
>Question: How can I call or put the print preview toolbar on my preview window.
>
>here is my init code for the define:
>
>DEFINE WINDOW MY_PREVIEW FROM 0,0 TO SYSMETRIC(1),SYSMETRIC(2) ;
> IN DESKTOP SYSTEM CLOSE GROW FLOAT ZOOM NOMINIMIZE
>
>
>here's the code if someone clicks the preview button
>
> MODIFY WINDOW MY_PREVIEW TITLE (lcReport)
> KEYBOARD '{CTRL + F10}'
> REPORT FORM (lcReport) PREVIEW
>
>
>Thank in advance
--sb--