For printout Boxes and lines define PEN, for example:
This is a Complete Report with Fivewin TReport Class and use PEN Object for Draw Lines and Box
#include "FiveWin.ch"
#include "report.ch"
Check out this Report sample: Lines, Boxes, Bitmap and Colors, yes color with only use COLOR Clausule in the PEN Objects and SettxtColor() Function for Text Color.
Where're you from Sharok ?
I want work with Clipper+Fivewin out of my country
I've 4 year working with 5win and 13 years with CA-Clipper from summers'87 to 5.3b
Fivewin is a wonderfull library, is the autentic Clipper for Windows, Thank Fivetech Spain
I used Visual Basic, Visual Fox, Access and Delphi and Clipper+Fivewin Combo is the very best Programmer Tool, is Powerfull.
DEFINE FONT oFont1 NAME "ARIAL" SIZE 0,-10
DEFINE FONT oFont2 NAME "ARIAL" SIZE 0,-10 BOLD
DEFINE FONT oFont3 NAME "ARIAL" SIZE 0,-10 BOLD ITALIC
DEFINE PEN oPen1 WIDTH 3 COLOR CLR_HGREEN
DEFINE PEN oPen2 WIDTH 1 COLOR CLR_HMAGENTA
GROUP ON Test->State ;
FOOTER "Total State "+oReport:aGroups[1]:cValue+ ;
" ("+ltrim(str(oReport:aGroups[1]:nCounter))+"" ;
FONT 2
COLUMN TITLE "ST" ;
DATA Test->State ;
FONT 2 ;
GRID 2
COLUMN TITLE "City" ;
DATA Test->City ;
GRID 2
COLUMN TITLE "First Name","Last Name" ;
DATA Test->First , Test->Last ;
GRID 2
COLUMN TITLE " Salary" ;
DATA Test->Salary ;
PICTURE "9,999,999" ;
SIZE 9 ;
TOTAL ;
SHADOW ;
GRID
Hi jesus;
Thanks again for your help. I managed to print in color.
I am in USA (Illinois). I have worked with Clipper5.2/5.3b for 7.5 years. I have done a lot of graphic programming with
clipper 5.3b building my own browsers, report viewers, windows, etc in graphic mode. I even made my own "say/get/achoice/memoedit/..." routines from basic, all in beautiful graphic mode which resembles Windows design. But now I started FiveWin, and I find it very easy to use. But first I had problems installing it on my computer. I am using version 1.9.2. and unfortunately they don't have an upgrade patch for this version. They have it for versions 2.0 above. But FiveWin is great.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.