SG_SetGadgetBackground

Syntax:

SG_SetGadgetBackground(SG_GadgetID_L.l, Value_L.l)

Parameters:

SG_GadgetID_L

=

The number of the gadget

Value_L

=

0, 1 or 2


Description:

set the background type for the specified gagdet.

Mode_L can contain different values:

- Mode_L = 0: none, means a transparent background

- Mode_L = 1: color; the backgroundcolor can be set with the SG_SetGadgetBackgroundColor() command.

- Mode_L = 2: image; the backgroundimage can be set with the SG_SetGagdetBackgroundImage() command.


Example:


Remarks:



Supported OS:   Windows