> Hi Frank.
>
> Pdf417 is a 2D barcode supplied by IdAutomation (
http://www.idautomation.com/fonts/pdf417 ).
> It installs the font(s) into Windows and registers IDAutomationPDF417_6.dll. This allows you to code oPdf = NEWOBJECT("pdf417","pdf417")
>
> So everything works great and I'm writing 2D barcodes and the scans are successful but when the object is initiated, the screen in the vfp program shows a barcode.
>
> This is nothing more than an annoyance but it looks really tacky and I'm trying to figure out how to stop the "newobject()" function from painting this barcode on the screen or just clearing the screen so the user doesn't see it. I would have thought SET CONSOLE OFF would have accomplished it or setting the _screen.picture to a BMP but neither clear the barcode from the screen.
>
> The only way it goes away is when I release the object with oPdf = NULL
>
> Ideas?
>
> > Hi Robert,
> >
> > I've never heard of a pdf417 object (what is it and where did you get it?), so this is pure speculation, but can you refer directly to the label/picture that this object creates?
> >
> > Something like this:
> >
> > oPDF.BarCodePicture = ""
> >
> > to reset it?
> >
> > Otherwise, what is the problem with setting the oPDF to NULL?
> >
> >
> >
> >
> >
> > Frank.
> >
> > Frank Cazabon
> > Samaan Systems Ltd.
> >
www.SamaanSystems.com/I dont know your object.
What if you set your object
oPDF.visible=.f.
and switch to .t. when you want to show it.
for destroying it
oPDF=null
oPDF.release
Dont rate please.its only for the pleasure to help.Give me only a feed back.
Yousfi Benameur