SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines whether animations are transparent.
Get
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; VARIANT_BOOL Boolean = object->GetAVITransparent(); |
C | HRESULT object->get_AVITransparent(VARIANT_BOOL* Boolean); |
Put
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; void object->PutAVITransparent(VARIANT_BOOL Boolean); |
C | HRESULT object->put_AVITransparent(VARIANT_BOOL Boolean); |
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. |
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.
' is to provide runtime initialization of a SftButton control, ' so we have some code samples for the properties. ' It is a lot easier to set properties at design-time using ' the property pages. Right-click on the control, then select ' "Properties" from the popup menu to access the property pages. ' Appearance AxSftButton1.AVITransparent = True AxSftButton1.BorderAlways = True AxSftButton1.BorderStyle = SftButtonBorderStyleConstants.borderSftButtonStandard AxSftButton1.ButtonStyle = SftButtonStyleConstants.styleSftButtonDropDown AxSftButton1.DropDownPressed = False AxSftButton1.DropDownStyle = SftButtonDropDownStyleConstants.dropdownstyleSftButtonStandard AxSftButton1.FillOrientation = SftButtonOrientationConstants.orientationSftButtonHorizontal AxSftButton1.Orientation = SftButtonOrientationConstants.orientationSftButtonHorizontal
' is to provide runtime initialization of a SftButton control, ' so we have some code samples for the properties. ' It is a lot easier to set properties at design-time using ' the property pages. Right-click on the control, then select ' "Properties" from the popup menu to access the property pages. ' Appearance SftButton1.AVITransparent = True SftButton1.BorderAlways = True SftButton1.BorderStyle = borderSftButtonStandard SftButton1.ButtonStyle = styleSftButtonDropDown SftButton1.DropDownPressed = False SftButton1.DropDownStyle = dropdownstyleSftButtonStandard SftButton1.FillOrientation = orientationSftButtonHorizontal SftButton1.Orientation = orientationSftButtonHorizontal
// is to provide runtime initialization of a SftButton control, // so we have some code samples for the properties. // It is a lot easier to set properties at design-time using // the property pages. Right-click on the control, then select // "Properties" from the popup menu to access the property pages. // Appearance axSftButton1.AVITransparent = true; axSftButton1.BorderAlways = true; axSftButton1.BorderStyle = SftButtonBorderStyleConstants.borderSftButtonStandard; axSftButton1.ButtonStyle = SftButtonStyleConstants.styleSftButtonDropDown; axSftButton1.DropDownPressed = false; axSftButton1.DropDownStyle = SftButtonDropDownStyleConstants.dropdownstyleSftButtonStandard; axSftButton1.FillOrientation = SftButtonOrientationConstants.orientationSftButtonHorizontal; axSftButton1.Orientation = SftButtonOrientationConstants.orientationSftButtonHorizontal;
// so we have some code samples for the properties. // It is a lot easier to set properties at design-time using // the property pages. Right-click on the control, then select // "Properties" from the popup menu to access the property pages. m_vButton = m_Button1.GetControlUnknown(); // Appearance m_vButton->put_AVITransparent(VARIANT_TRUE); m_vButton->put_BorderAlways(VARIANT_TRUE); m_vButton->put_BorderStyle(borderSftButtonStandard); m_vButton->put_ButtonStyle(styleSftButtonDropDown); m_vButton->put_DropDownPressed(VARIANT_FALSE); m_vButton->put_DropDownStyle(dropdownstyleSftButtonStandard); m_vButton->put_FillOrientation(orientationSftButtonHorizontal); m_vButton->put_Orientation(orientationSftButtonHorizontal);
See Also SftButton Object | Object Hierarchy