Image Property

Applies To
Button, Label, RadioButton, CheckBox, PictureBox

Description
Gets or sets the image that is displayed on a control.

Usage

GGet Form.Control.Image, var  
GSet  Form.Control.Image, value  
Form
Name of a form or string variable containing a form name.
Control
Name of a control or string variable containing a control name.
var
String variable that will contain the value of the property.
value
String expression for the new value of the property.

Values
A string containing the full path to an image file.
Default: Blank

See Also
Button, Label, RadioButton, Checkbox, PictureBox, ImageAlign , ImageIndex

Example

GSet frmMain.btnTools.Image, "c:\Images\Tools.bmp"