Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: MyRpt - Diseñador de Reportings - En desarrollo :-)
Posted: Thu Feb 27, 2014 05:18 PM
Charles,
can help us to create Labels with MyRep ?
I thinked to create a new data on INI file as Label= Yes or No
If the label is Yes the procedure must read the form of the labels
::nLblHeight Label Height
::nLblWidth Label Width
:nLblOnLine Lables for line
::nLblAtcol Labels for column
:nLblHSep Horizontal separation
::nLblVSep Vertical separation
::lGrid if there is Grid
::nPenGrid Pen for grid
::lShadow shadow labels
or we can create a file as INI with some template of labels as
7022=3,5|6,4|3|2|2|2
for the command to create labels we can use the Labels Class
LABEL ::oLabel ;
SIZE ::nLblWidth, ::nLblHeight ;
SEPARATORS ::nLblHSep, ::nLblVSep ;
ON LINE ::nLblOnLine ;
PEN oPen1 ;
FILE "LABEL.PRN" ;
TO FILE "LABEL.TXT" ;
CAPTION ::cTitulo1 ;
FONT ::oFont3, ::oFont2, ::oFont1
LBLITEM AT ::nLblAtcol DATA ..... FONT 2
LblAddItem( ::nLblAtcol,;
{bCampo(::aCampos,i)},; //fiels
::aWidth[i],; // width
{},; //picture
{||1},; // font
,;
,;
::lshadow,; //shadow
::lgrid ) //lgrid
END LABEL ::oLabel
this is only an Idea
I believe it can be done on My Rep
Perhaps we must change the the show of the paper but I notKnow how make it
if the MyRep have the labels My rep can be complete !!
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com