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


Hello. I'm new to the foxite site but a veteran vfp programmer.

Here's my pbm...

If I create a simple .prg that initiates the PDF417 barcode object, it paints a barcode onto the screen and no matter what I do to get rid of it, it won't go away until I release the object. Here's my example..

TEST.PRG
---
CLOSE ALL
CLEAR ALL
CLEAR
SET TALK OFF
SET CONSOLE OFF
SET NOTIFY OFF
SET SAFETY OFF
RELEASE oPDF
PUBLIC oPDF
oPDF = NEWOBJECT("pdf417","pdf417")
*--- AT THIS POINT A LABEL IS PAINTED ONTO THE SCREEN (ie you see a barcode on the screen)
*.. no matter what I do at this point, I can't clear the barcode label off the screen until I do this

oPDF = NULL

*.. once I set it to null, the "picture" of the barcode label disappears.

I've tried setting _screen.picture = "mypicture.bmp"
This DOES set the background to my picture but the label on the screen is on top of my picture so it's still visible.

Any ideas?

Robert



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