Barcode
|
![]() ![]() ![]() |
Define and Properties |
CREATE BARCODE cName | (cVarName) | &(cExpression) | ||||||
[ ; OF cWindow | (cVarName) | &(cExpression) ] | ![]() | A reference to the Parent Window | ||||
[ ROW nRow ] | ![]() | Row position on container window in pixels coordinates | ||||
[ COL nCol ] | ![]() | Col position on container window in pixels coordinates | ||||
[ WIDTH nWidth ] | ![]() | The desired width size of the Control in pixels | ||||
[ HEIGHT nHeight ] | ![]() | The desired height size of the Control in pixels | ||||
[ BARWIDTH nBarWidth ] | ![]() | This property is used to enlarge the bar width of barcode | ||||
[ 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. | ||||
[ ENABLED .T. | .F. ] | ![]() | Enable or Disable control | ||||
[ VALUE cValue ] | ![]() | A text expressions for the control | ||||
[ TYPE cType ] | ![]() | This is the type of BARCODE to generate, availables values are: EAN13 (12 Digits + Checksum Digit) EAN8 (7 Digits + Checksum Digit) UPCA (not tested yet!) UPCE (not tested yet!) CODE39 (only digits) ITF (not tested yet!) MSI (not tested yet!) CODABAR (not tested yet!) CODE93 (not tested yet!) CODE11 (not tested yet!) CODE128 (any characters) PDF417 (not tested yet!) DATAMATRIX (not tested yet!) QRCode (any characters) | ||||
[ TRANSPARENT .T. | .F. ] | ![]() | Don't fill background control, set Transparent attibute | ||||
[ FONTCOLOR {aFontColor} | aVarFontColor ] | ![]() | Set foreground color (text color) | ||||
[ BACKCOLOR {aBackColor} | aVarBackColor ] | ![]() | Set background color | ||||
[ TOOLTIP cToolTip ] | ![]() | Text for display into tooltip | ||||
[ VISIBLE .T. | .F. ] | ![]() | Show or hide control (like methods SHOW and HIDE) | ||||
[ FORCEACTION .T. | .F. ] | ![]() | It force the execution of the actions defined by methods like ACTION, ONENTER, ONCLICK, ONDBLCLICK, etc. when NOTABSTOP property was set '.T.'. This property is useful when application focus is over a control when a VALID clause and it doesn't permit lostfocus. | ||||
[ 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. | ||||
[ CURSOR ] | ![]() | Change the cursor pointer shape for the control. Go to to learn more about it. | ||||
[ CREATE CONTEXT MENU [ cName ] ] | ![]() | CONTEXT MENU for control | ||||
[ ......... ] | ![]() | You can see properties for this menu in CONTEXT MENU topic | ||||
[ END MENU ] | ![]() | |||||
END BARCODE |
Jump to Context Menu topic |
Methods |
HIDE | ![]() | This method HIDE the control | ||||
SHOW | ![]() | This method SHOW the control | ||||
UNSETCURSOR | ![]() | Reset the cursor pointer shape for the control to default (Qt_ArrowCursor). Go to to learn more about it. | ||||
RELEASE | ![]() | This method is used to destroy the control. | ||||
GETBARCODE | ![]() | Return the barcode text including the checksum digit | ||||
SAVETOFILE cFileName | ![]() | This method is used to save BARCODE control to file. The image file type will be chosen from fileName's suffix. Default image type is 'png' and allowed types are: 'bmp', 'jpeg', 'jpg' and 'png'. Warning: by default, the BARCODE control has a transparent BACKCOLOR, this can create an apparent completely black image if not specified a BACKCOLOR | ||||
GETFINALWIDTH | ![]() | Thise method is used to calculates the WIDTH of drawed area for the control (not the WIDTH of control, only the drawed area WIDTH) | ||||
GETFINALHEIGHT | ![]() | Thise method is used to calculates the HEIGHT of drawed area for the control (not the HEIGHT of control, only the drawed area HEIGHT) |
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 |
|
![]() ![]() ![]() |