Solved

Simple question on "images" and overlaying

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

932 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now