|
|
|
SftButton.AVITransparent Property |
Defines whether animations are transparent.
Syntax
VB.NET |
Boolean = object.AVITransparent As Boolean |
||
VB |
Boolean = object.AVITransparent As Boolean |
||
C#.NET |
bool Boolean = object.AVITransparent; |
||
VC++ |
VARIANT_BOOL Boolean = object->AVITransparent;
|
||
C |
HRESULT object->get_AVITransparent(VARIANT_BOOL* Boolean); |
||
Delphi |
Boolean := object.AVITransparent : WordBool; |
||
VB.NET |
object.AVITransparent = Boolean As Boolean |
||
VB |
object.AVITransparent = Boolean As Boolean |
||
C#.NET |
bool object.AVITransparent = Boolean; |
||
VC++ |
VARIANT_BOOL object->AVITransparent = Boolean;
|
||
C |
HRESULT object->put_AVITransparent(VARIANT_BOOL Boolean); |
||
Delphi |
object.AVITransparent := Boolean : WordBool; |
object
A SftButton object.
Boolean
Defines whether animations are transparent.
Boolean |
Description |
True |
Animations are transparent. The top, left pixel of the first frame of the animation defines the color which will be replaced by the actual background color (BackColor). Because the color is replaced by the defined background color, animations on gradient backgrounds (or themed background) will not be truly transparent. |
False |
Animations are not transparent. |
Comments
The AVITransparent property defines whether animations are transparent.
Transparency of animations is limited to the color defined using the BackColor property, the BackColorPressed property is not used for transparency. If gradient backgrounds or Windows themes (Windows XP) are used, animation transparency uses the defined background color BackColor which will not match the possibly textured background.