Adding Images to an Application
Go Up to Adding Graphical Objects to a String List
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 use in your application. For example,
To store bitmaps for owner-drawn controls in hidden image controls:
- Add image controls to the main form.
- Set their Name properties.
- Set the Visible property for each image control to False.
- 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 does not have to be loaded from a file at run-time.