FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TO NAGES: XBROWSE and BArcode
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
TO NAGES: XBROWSE and BArcode
Posted: Wed Feb 08, 2017 12:35 PM

How I can show a graphics barcode into xbrowse ?

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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: TO NAGES: XBROWSE and BArcode
Posted: Thu Feb 09, 2017 03:31 PM

You first generate a bitmap of barcode, using your favorite library, and then paint the bitmap in xbrowse like any other bitmap.

Regards



G. N. Rao.

Hyderabad, India
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: TO NAGES: XBROWSE and BArcode
Posted: Fri Feb 10, 2017 03:35 PM
to show a barcode of the product into xbrowse I must create an image foreach
product and insert it ?
Gulp!...
perhaps you not understood ...
please see it

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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: TO NAGES: XBROWSE and BArcode
Posted: Fri Feb 10, 2017 04:51 PM
Mr Silvio

perhaps you not understood ...

You are right. I did not understand. :-)
Now I understood.

In my next post I shall provide solution for this. We also realize we need to make this much easier for our users and we shall do that in the next version.

Meanwhile please tell me how did you do this in the screen shot you posted.
Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: TO NAGES: XBROWSE and BArcode
Posted: Fri Feb 10, 2017 05:41 PM
Please try this:
Code (fw): Select all Collapse
oColBarCode:bPaintText := { |oCol,hDC,cData,aRect| PaintBarCode( oCol, hDC, cData, aRect ) }
oColBarCode:lBmpTransparent := .f.

.......
........

function PaintBarCode( oCol, hDC, cData, aRect )

   local hBmp  := YourBarCodeFunction( ... )

   oCol:oBrw:SayPalBmp( hBmp, aRect, oCol:lBmpTransparent )

   DeleteObject( hBmp )

return nil
Regards



G. N. Rao.

Hyderabad, India
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: TO NAGES: XBROWSE and BArcode
Posted: Fri Feb 10, 2017 05:43 PM
it is not mine
it is an application I see on Internet (www.monami3000.it)

I wish realize this

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
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: TO NAGES: XBROWSE and BArcode
Posted: Wed Feb 15, 2017 09:23 AM

I understood bu I not Know How make it
I have

ARCODE 4 C
ARDESC 30 C
ARCATEG 30 C
ARSUCAT 30 C
ARUM 2 C
ARBARCODE 16 C

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

Continue the discussion