TDBContainer3D Control > How to Use Effects |
The EffectsCollection is made up of 3D effect styles for the TDBContainer3D control's Effect object, which consist of the following properties:
BackColor |
Specifies the background color. |
BevelInner |
Specifies the inner bevel width. |
BevelLight |
Specifies the light color of the bevel. |
BevelOuter |
Specifies the outer bevel width. |
BevelShade |
Specifies the shade color of the bevel. |
BevelSpace |
Specifies the spacing between the inner and the outer bevel. |
BorderStyle |
Specifies the border style. |
Key:objects |
Returns a unique key for the object. |
MarginBottom |
Specifies the bottom margin space. |
MarginLeft |
Specifies the left margin space. |
MarginRight |
Specifies the right margin space. |
MarginTop |
Specifies the top margin space. |
Parent:Effect |
Returns the parent object from which a style inherits. |
ShadowBaseColor |
Specifies the base color of the shadow. |
ShadowDarkness |
Specifies the mask color for the shadow. |
ShadowWidth |
Specifies the width of the shadow. |
Once you have defined an effect style, you can apply it to the CtrlEffect and ChildrenEffect properties, and the Effect property of the Child object. If you subsequently change a particular setting of a style, the controls will automatically be reflected with the new settings.
Initially, the EffectsCollection contains three built-in styles. You can redefine and modify settings, deleting and adding any styles whether it is built-in or a user-defined style.
For more information see TDBContainer3D Control Property Pages.