xButton.SetImage

xButton.SetImage ( 

string ObjectName,

string ButtonImage )

Description

Sets the image of an xButton object.

Parameters

ObjectName

(string) The name of the xButton object.

ButtonImage

(string) The path to the image file to set. Click the browse button to select a file. The xButton supports the following image formats: .bmp, .jpg, .png, .wmf, .gif and .ico (icon).

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions