Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Yousfi Benameur
  Where is Yousfi Benameur?
 El Bayadh
 Algeria
 Yousfi Benameur
 To: Robert Heitner
  Where is Robert Heitner?
 El Dorado Hills
 California - United States
 Robert Heitner
 Tags
Subject: RE: Pdf417 prints on screen
Thread ID: 221272 Message ID: 221334 # Views: 38 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Tuesday, March 17, 2009 11:49:13 PM         
   


> 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



COMPLETE THREAD
Pdf417 prints on screen Posted by Robert Heitner @ 3/17/2009 4:56:12 PM
RE: Pdf417 prints on screen Posted by Frank Cazabon @ 3/17/2009 5:09:33 PM
RE: Pdf417 prints on screen Posted by Robert Heitner @ 3/17/2009 10:24:12 PM
RE: Pdf417 prints on screen Posted by Yousfi Benameur @ 3/17/2009 11:49:13 PM
RE: Pdf417 prints on screen Posted by Frank Cazabon @ 3/18/2009 2:52:36 AM
RE: Pdf417 prints on screen Posted by Robert Heitner @ 3/19/2009 6:29:41 PM
RE: Pdf417 prints on screen Posted by Suresh Adhikari @ 3/18/2009 1:06:07 PM
RE: Pdf417 prints on screen Posted by Robert Heitner @ 3/19/2009 6:32:33 PM
RE: Pdf417 prints on screen Posted by Suresh Adhikari @ 3/20/2009 11:07:28 AM