Solved

Simple question on "images" and overlaying

Posted on 1997-09-17
1
162 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

685 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