TLabel class
Posted: Mon Jan 23, 2017 9:09 am
I'm trying to modify the tlabel class of Manuel Calero Solis
I have make a small class to the labels on our application, with a simply dialog where you can set the label parameters ( nheight,nWidth, Vertical separator , Horizontal separator, labels for line print grid, print shadow repeat records ) the parameters can be save on ini file
a snapshot of the dialog
It run ok but I have some problems
1. How I can to not show the last label ( or How I can add n inferior margin)
Because I have this error as you can see
I tried also with :
::oLabel:nTopMargin := 2.1
::oLabel:nDnMargin := 2.1
::oLabel:nLeftMargin := 0.1
::oLabel:nRightMargin := 0.1
while the top margin is moved the bottom margin is the same
2, How I can print labels with barcodes using barlib functions ?
I saw the Label16.prg
It print a barcode with the command : LBLITEM DATA char2Ean(cSendCode) FONT 2 CENTERED
with function of Barlib I must use to print barcodes ?
I have make a small class to the labels on our application, with a simply dialog where you can set the label parameters ( nheight,nWidth, Vertical separator , Horizontal separator, labels for line print grid, print shadow repeat records ) the parameters can be save on ini file
a snapshot of the dialog
It run ok but I have some problems
1. How I can to not show the last label ( or How I can add n inferior margin)
Because I have this error as you can see
I tried also with :
::oLabel:nTopMargin := 2.1
::oLabel:nDnMargin := 2.1
::oLabel:nLeftMargin := 0.1
::oLabel:nRightMargin := 0.1
while the top margin is moved the bottom margin is the same
2, How I can print labels with barcodes using barlib functions ?
I saw the Label16.prg
It print a barcode with the command : LBLITEM DATA char2Ean(cSendCode) FONT 2 CENTERED
with function of Barlib I must use to print barcodes ?