` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Report -- Title Page
1998-10-21 -- Arnor Baldvinsson
 
Create a report structure with the bands you want to use on the front page. Paste this structure into the "Declaration section" embed, something like this: FrontPage REPORT,AT(,1000,6000,9000),PRE(FPG),FONT('Arial',10,,),THOUS Detail DETAIL,AT(,,,6563) IMAGE('C4robot.bmp'),AT(1000,667),USE(?Image1),CENTERED STRING('My Front page'),AT(979,4760,4010,656),USE(?String1),| TRN,CENTER,FONT('Aachen BT',36,COLOR:Maroon,FONT:bold+FONT:italic) BOX,AT(979,4771,4010,656),USE(?Box1),ROUND,COLOR(COLOR:Black),LINEWIDTH(30) END END In the "After opening the report" embed (Clarion templates) put: OPEN(FrontPage) FrontPage{Prop:Preview} = PrintPreviewImage Print(FPG:Detail) ENDPAGE(FrontPage) In the "Before Closing Report" embed (again Clarion templates) put: CLOSE(FrontPage) This prints this as a front page to the report. Now, I've spent some time to try to figure out how to assign the preview property in ABC, but so far haven't come up with a good solution - maybe someone else...


Today is November 21, 2024, 6:27 am
This article has been viewed 35201 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: