This chapter contains the following topics:
You can use a bitmap control to create a control that looks like a picture or other artwork. You can then attach event rule logic to the control. For example, you can attach logic to the Button Clicked event on the control so that when a user clicks the control, the application automatically links to a different form. Button Clicked is the only event that can fire on an image control.
You also can use the bitmap control for an animated gif instead of a bitmap. An animated gif is particularly useful for Java and HTML applications. The animated gif is animated in Java and HTML applications; in Windows applications, however, it does not appear animated and only the first image of the animated gif file appears.
This list discusses how to use the design-time properties that are particularly useful for image controls:
If you want to make the image control act as a button (that is, fire the Button Clicked event when the user clicks it), enable this option. The option does not automate the image, however. Hence, the user receives no feedback when he or she clicks the control unless you add logic on the Button Clicked event to that end.
Maintain Aspect Ratio
Select this option to maintain the height-to-width ratio of the image when you resize it.
Select this option to prevent your accidentally resizing the image during design-time.
To display text when the user hovers over the control, enter the text you want to show in this property field.