TO NAGES: XBROWSE and BArcode

TO NAGES: XBROWSE and BArcode

Postby Silvio.Falconi » 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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6804
Joined: Thu Oct 18, 2012 7:17 pm

Re: TO NAGES: XBROWSE and BArcode

Postby nageswaragunupudi » Thu Feb 09, 2017 3: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
User avatar
nageswaragunupudi
 
Posts: 10259
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: TO NAGES: XBROWSE and BArcode

Postby Silvio.Falconi » Fri Feb 10, 2017 3: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

Image
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6804
Joined: Thu Oct 18, 2012 7:17 pm

Re: TO NAGES: XBROWSE and BArcode

Postby nageswaragunupudi » Fri Feb 10, 2017 4: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
User avatar
nageswaragunupudi
 
Posts: 10259
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: TO NAGES: XBROWSE and BArcode

Postby nageswaragunupudi » Fri Feb 10, 2017 5:41 pm

Please try this:
Code: Select all  Expand view
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
User avatar
nageswaragunupudi
 
Posts: 10259
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: TO NAGES: XBROWSE and BArcode

Postby Silvio.Falconi » Fri Feb 10, 2017 5:43 pm

it is not mine
it is an application I see on Internet (www.monami3000.it)

I wish realize this

Image
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6804
Joined: Thu Oct 18, 2012 7:17 pm

Re: TO NAGES: XBROWSE and BArcode

Postby Silvio.Falconi » Wed Feb 15, 2017 9: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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6804
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 9 guests