YAPI         Questions and Answers
 

Q. Can I try the Image and other components of yapi?

A. There is an evaluation kit on the main page. This is full functionality but with a "spoiled" output.

Q. Is it possible to have an image as page header on every side?

A. Images are placed on the pages with a "writeattab" statement. The top of every page is controlled by the "paper.everypage" statement. The following code should work.

   paper.clear;
   paper.everypage;         //writing for the top of every page
   Title.Writeattab('This is a big title',1);  // Title on left
   Image.writeattab(2);     // Image at the write hand side
   Title.writeln;
   paper.thispage;          // writing the report body
   etc etc.

Q. Is it possible to create a printout with a page header on the first side and a different page header on all the other sides? Can I do this with pages footers too?

A.  Both headers and footers can have a different captions for the first page.
If you want more that just headers and footers you can use:

   paper.clear
   paper.thispage;
   Title.write('This is at the top of just the first page');
   paper.otherpages
   Title.write('This is at the top of all the other pages');
   paper.thispage;
   ....  report body

Q. Are there buttons for print dialog and/or printer setup dialog in the toolbar of the preview window? 

A. Put a print dialog componen on your form. Link the paper to it (using a property of the paper) The preview printing button will then used this dialogue immedialty before printing.

Back to main page

© 2001 Yapi

Modified: Thursday, June 7, 2001