Report
|
![]() ![]() ![]() |
Define and Properties |
CREATE REPORT cName | (cVarName) | &(cExpression) | ||||||
[ ; OF cWindow | (cVarName) | &(cExpression) ] | ![]() | A reference to the Parent Window | ||||
[ FONTNAME "cFontName" ] | ![]() | Font family for control text | ||||
[ FONTSIZE nPoints ] | ![]() | Font size for control text | ||||
[ FONTBOLD .T. | .F. ] | ![]() | Set Bold attribute to control text | ||||
[ FONTITALIC .T. | .F. ] | ![]() | Set Italic attribute to control text | ||||
[ FONTUNDERLINE .T. | .F. ] | ![]() | Set Underline attribute to control text | ||||
[ FONTSTRIKEOUT .T. | .F. ] | ![]() | Set Strikeout attribute to control text | ||||
[ FONTCOLOR {aFontColor} | aVarFontColor ] | ![]() | Set foreground color (text color) | ||||
[ BACKCOLOR {aBackColor} | aVarBackColor ] | ![]() | Set background color | ||||
[ PARENT cControlParent ] | ![]() | Get or Set the control name of parent widget | ||||
[ PARENTTYPE n/a ] | ![]() | Only for mg_get() function, this property returns the PARENT control type or "" if the parent was not set. | ||||
[ [ CREATE ] PRINT [ TEXT ] "Text" ] | ![]() | Print a text | ||||
[ or ] | ![]() | |||||
[ [ CREATE ] PRINT LINE ] | ![]() | Print a Line | ||||
[ or ] | ![]() | |||||
[ [ CREATE ] PRINT RECTANGLE ] | ![]() | Print a rectangle | ||||
[ or ] | ![]() | |||||
[ [ CREATE ] PRINT ELLIPSE ] | ![]() | Print an ellipse | ||||
[ or ] | ![]() | |||||
[ [ CREATE ] PRINT IMAGE "cImageName" ] | ![]() | Print an image | ||||
[ or ] | ![]() | |||||
[ [ CREATE ] PRINT BARCODE "cText" ] | ![]() | Print an barcode (similar to BARCODE control) | ||||
[ ROW nTop ] | ![]() | TOP position on container page in default units (see SET PRINTER UNITS command). | ||||
[ COL nLeft ] | ![]() | LEFT position on container page in default units (see SET PRINTER UNITS command). | ||||
[ TOROW nBottom ] | ![]() | BOTTOM position on container page in default units (see SET PRINTER UNITS command). Usually used with ROW, COL and TOCOL | ||||
[ TOCOL nRight ] | ![]() | RIGHT position on container page in default units (see SET PRINTER UNITS command). Usually used with ROW, COL and TOROW | ||||
[ COORD { nLeft , nTop , nRight , nBottom } ] | ![]() | Coordenates to print area | ||||
[ FROMXY { nLeft , nTop } ] | ![]() | Coordenates to print area (Usually used with TOXY property) | ||||
[ TOXY { nRight , nBottom } ] | ![]() | Coordenates to print area (Usually used with FROMXY property) | ||||
[ WIDTH nWidth ] | ![]() | The desired width size of the Control in default units (see SET PRINTER UNITS command) | ||||
[ BARWIDTH nBarWidth ] | ![]() | Only used in PRINT BARCODE. The desired bar width size of the BARCODE graph | ||||
[ TYPE cType ] | ![]() | Only used in PRINT BARCODE. The desired barcode type. (see the TYPE property of BARCODE control ) | ||||
[ HEIGHT nHeight ] | ![]() | The desired height size of the Control in default units (see SET PRINTER UNITS command) | ||||
[ ROWBOTTOM nRow ] | ![]() | Bottom Row position on container window in pixels coordinates. This property adjust the HEIGHT property according the ROW property. | ||||
[ COLRIGHT nCol ] | ![]() | Right Col position on container window in pixels coordinates. This property adjust the WIDTH property according the COL property. | ||||
[ FONTNAME "cFontName" ] | ![]() | Font family for control text | ||||
[ FONTSIZE nPoints ] | ![]() | Font size for control text | ||||
[ FONTBOLD .T. | .F. ] | ![]() | Set Bold attribute to control text | ||||
[ FONTITALIC .T. | .F. ] | ![]() | Set Italic attribute to control text | ||||
[ FONTUNDERLINE .T. | .F. ] | ![]() | Set Underline attribute to control text | ||||
[ FONTSTRIKEOUT .T. | .F. ] | ![]() | Set Strikeout attribute to control text | ||||
[ FONTCOLOR {aFontColor} | aVarFontColor ] | ![]() | Set foreground color for PRINT TEXT | ||||
[ BACKCOLOR {aBackColor} | aVarBackColor ] | ![]() | Set background color | ||||
[ COLOR {aColor} | aVarColor ] | ![]() | Set foreground color for PRINT RECTANGLE, ELLIPSE or LINE (for PRINT TEXT color use FONTCOLOR) | ||||
[ ALIGN nAlign ] | ![]() | Align text, most common value are Qt_AlignLeft , Qt_AlignCenter and Qt_AlignRight | ||||
[ STYLEFONT cStyleFont ] | ![]() | Override properties from command with StyleFont properties. Go to | ||||
[ STYLEPEN cStylePen ] | ![]() | Override properties from command with StylePen properties. Go to | ||||
[ STRETCH .T. | .F. ] | ![]() | Used only in PRINT IMAGE. Sets a value that image to stretch to completely fill the destination rectangle. | ||||
[ ASPECTRATIO nAspectRatio ] | ![]() | Used only in PRINT IMAGE. This property is used in conjuction with STRETCH property. This enum type defines what happens to the aspect ratio when scaling an rectangle. Values: Qt_IgnoreAspectRatio: The size is scaled freely. The aspect ratio is not preserved. Qt_KeepAspectRatio: The size is scaled to a rectangle as large as possible inside a given rectangle, preserving the aspect ratio. Qt_KeepAspectRatioByExpanding: The size is scaled to a rectangle as small as possible outside a given rectangle, preserving the aspect ratio. | ||||
[ FILLED .T. | .F. ] | ![]() | Used only in PRINT RECTANGLE or PRINT ELLIPSE. Fill the given area. | ||||
[ PENWIDTH nPenWidth ] | ![]() | Width of Pen used to draw | ||||
[ ROUNDED nRounded ] | ![]() | Used only in PRINT RECTANGLE to make soft corners. Try with value of 30 in Millimeters | ||||
[ ROTATE nAngle ] | ![]() | Used only in PRINT TEXT, rotates the text the given nAngle clockwise. | ||||
[ END PRINT ] | ![]() | End PRINT Control | ||||
END REPORT |
Methods |
RELEASE | ![]() | This method Destroy the report | ||||
EXEC | ![]() | This method Execute the report |
STYLEFONT and STYLEPEN |
BARCODE |
Define and Properties |
CREATE STYLEFONT cName | (cVarName) | &(cExpression) | ||||||
[ FONTNAME "cFontName" ] | ![]() | Font family for control text | ||||
[ FONTSIZE nPoints ] | ![]() | Font size for control text | ||||
[ FONTBOLD .T. | .F. ] | ![]() | Set Bold attribute to control text | ||||
[ FONTITALIC .T. | .F. ] | ![]() | Set Italic attribute to control text | ||||
[ FONTUNDERLINE .T. | .F. ] | ![]() | Set Underline attribute to control text | ||||
[ FONTSTRIKEOUT .T. | .F. ] | ![]() | Set Strikeout attribute to control text | ||||
[ FONTCOLOR {aFontColor} | aVarFontColor ] | ![]() | Set foreground color (text color) | ||||
[ BACKCOLOR {aBackColor} | aVarBackColor ] | ![]() | Set background color | ||||
END STYLEFONT |
Methods |
RELEASE | ![]() | This method is used to destroy the control. |
Define and Properties |
CREATE STYLEPEN cName | (cVarName) | &(cExpression) | ||||||
[ COLOR {aColor} | aVarColor ] | ![]() | Set foreground color for PRINT RECTANGLE, ELLIPSE or LINE (for PRINT TEXT color use FONTCOLOR) | ||||
[ PENWIDTH nPenWidth ] | ![]() | Width of Pen used to draw | ||||
END STYLEPEN |
Methods |
RELEASE | ![]() | This method is used to destroy the control. |
Marinas-GUI Version 03.06 and Marinas-IDE Version 05.06 and LEX Files Version 02.06 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- last update: April 27 2017 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ![]() A Harbour/QT framework to make multiplatform programs (©) Copyright 2009-2017 by Fernando Santolin (aka CarozoDeQuilmes) CarozoDeQuilmes@gmail.com 2009-2017 Beta tester and full English translator: Bruno Luciani Bruno.Luciani@gmail.com 2014-2015 Final English corrector: David Worboys DavidWorboys@hotmail.com --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- www.marinas-gui.org |
|
![]() ![]() ![]() |