RAD Studio
Adding Images to an Application

An image control is a nonvisual control that contains a graphical image, such as a bitmap. You use image controls to display graphical images on a form. You can also use them to hold hidden images that you'll use in your application. For example,

To store bitmaps for owner-draw controls in hidden image controls:

  1. Add image controls to the main form.
  2. Set their Name properties.
  3. Set the Visible property for each image control to False.
  4. Set the Picture property of each image to the desired bitmap using the Picture editor from the Object Inspector.
The image controls are invisible when you run the application. The image is stored with the form so it doesn't have to be loaded from a file at runtime.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!