Picture

<< Click to Display Table of Contents >>

 

Picture

Picture This property specifies an image (bitmap) set to an object. An image file can be selected in two ways: via Properties List or via scripts, by using the LoadPicture method to specify a file path and name containing an image. To remove this image, click the value of this property and press the DEL key. The BACKSPACE key does not remove this image. Example:

Sub CommandButton1_Click()
  Screen.Item("CheckBox1").Picture = LoadPicture("C:\tab.gif")
End Sub

Was this page useful?