HeaderPane
Main
Hide

SftButton/OCX 4.0 - ActiveX Button Control

Share Link
Print

AVITransparent Property, SftButton Object

Defines whether animations are transparent.

Syntax

Get

VB.NETBoolean = object.AVITransparent As Boolean
VBBoolean = object.AVITransparent As Boolean
C#.NETbool Boolean = object.AVITransparent;
VC++VARIANT_BOOL Boolean = object->AVITransparent;
VARIANT_BOOL Boolean = object->GetAVITransparent();
CHRESULT object->get_AVITransparent(VARIANT_BOOL* Boolean);

Put

VB.NETobject.AVITransparent = Boolean As Boolean
VBobject.AVITransparent = Boolean As Boolean
C#.NETbool object.AVITransparent = Boolean;
VC++VARIANT_BOOL object->AVITransparent = Boolean;
void object->PutAVITransparent(VARIANT_BOOL Boolean);
CHRESULT object->put_AVITransparent(VARIANT_BOOL Boolean);

object

A SftButton object.

Boolean

Defines whether animations are transparent.

BooleanDescription
TrueAnimations 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.
FalseAnimations 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 are used, animation transparency uses the defined background color BackColor which will not match the possibly textured background.

See Also SftButton Object | Object Hierarchy


Last Updated 08/23/2026 - (email)
© 2026 Softel vdm, Inc.