Solved

Simple question on "images" and overlaying

Posted on 1997-09-17
1
160 Views
Last Modified: 2010-04-04
I have an image component on a form that I am constantly overlaying with different images. (bitmaps).  The images sometimes don't copy cleanly (for example, sometimes when I copy a notepad window, some text is missing, etc.) Should I be clearing this out before laying a 2nd image over the first? How do I clear it, as I am guessing that is what's causing the problems?
                 Thanks
0
Comment
Question by:jexd99
1 Comment
 

Accepted Solution

by:
98113772 earned 50 total points
ID: 1345383
Hi,

In tImage-component I use, I sometimes need to clear the bitmap. This is the way I do it:

  {A fast way to remove an image}
  If Image1.Picture.Bitmap=NIL then;
  If Image1.Picture.Icon=NIL then;

I looks like it allways work.

Greatings from Denmark
Claus Ziegler

0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question