Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Simple question on "images" and overlaying

Posted on 1997-09-17
1
Medium Priority
?
167 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 100 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

971 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