The Image control, shown in Figure 3-27, enables you to display pictures on your UserForm. The following types of images are supported: *.bmp, *.cur, *.gif, *.ico, *.jpg, and *.wmf. With the Image control's default event being Click, you could also use it as a fancy CommandButton control with a picture. In addition to specifying the picture to be displayed, you can define the Image control's display properties such as clip, stretch, and zoom, as well as apply 3-D border effects on the control itself, such as Flat, Raised, and Sunken.

Figure 3-26. A UserForm with a SpinButton control

Figure 3-27. A UserForm with an Image control

Was this article helpful?

0 0

Post a comment