ComponentOne True DBInput Pro 8.0
Effects Property Page (TDBContainer3D)

The TDBContainer3D control's Effects property page is used to set up the 3D effects for the Effect object. For more information, see Tutorial 10 - Applying TDBContainer3D Effects to Child Objects.

The following list describes each property that can be set in the Effects property page:

Index

Specifies the index number of the current 3D style being edited.  You can navigate through the effects by using the spin buttons. Not allowed to modify the value of the index number. This edit box will be disabled when all the 3D styles are removed.

Key

Used to specify a unique key name for the current 3D style. This control corresponds to the effect’s Key:objects property. This edit box will be disabled when all the 3D styles are removed.

BorderStyle

Specifies the border style for the current 3D effect being modified. This control corresponds to the BorderStyle property of Effect object. This combo box will be disabled when all the 3D styles are removed.

BevelOuter

Specifies the outer bevel width of the current 3D effect being modified. You can click on the spin buttons to increment or decrement the values. This control corresponds to the BevelOuter property of Effect object. This edit box will be disabled when all the 3D styles are removed.

BevelInner

Specifies the inner bevel width of the current 3D effect being modified. You can click on the spin buttons to increment or decrement the values. This control corresponds to the BevelInner property of Effect object. This edit box will be disabled when all the 3D styles are removed.

BevelLight

Specifies the light color of the bevel for the current 3D effect being modified. You can click on the spin buttons to increment or decrement the values. This control corresponds to the BevelLight property of Effect object. This edit box will be disabled when all the 3D styles are removed.

BevelShade

Specifies the shade color of the bevel for the current 3D effect being modified. You can click on the spin buttons to increment or decrement the values. This control corresponds to the BevelShade property of Effect object. This edit box will be disabled when all the 3D styles are removed.

BevelSpace

Specifies the space between the inner and the outer bevel of the current 3D effect being modified. You can click on the spin buttons to increment or decrement the values. This control corresponds to the BevelSpace property of Effect object. This edit box will be disabled when all the 3D styles are removed.

BackColor

Clicking on this button will pop up the Color dialog box for selecting a color for the background of the current 3D effect being modified. This button will be disabled when all the 3D styles are removed. This control corresponds to the BackColor property of Effect object.

Insert

This button inserts a new 3D style in the EffectsCollection. Clicking on this button when the Effects collection is empty will enable all the other options. This button corresponds to the Add method of the Effects collection.

Remove

This button deletes the current 3D style from the EffectsCollection. When all the built-in styles are deleted, the control references a style provided internally which is equivalent to the built-in Flat style, and disables this button. This button corresponds to the Remove method of the Effects collection.

Left

Specifies the left margin space for the current 3D effect being modified. You can click on the spin buttons to increment or decrement the values. This control corresponds to the MarginLeft property of Effect object. This edit box will be disabled when all the 3D styles are removed.

Right

Specifies the right margin space for the current 3D effect being modified. You can click on the spin buttons to increment or decrement the values. This control corresponds to the MarginRight property of Effect object. This edit box will be disabled when all the 3D styles are removed.

Top

Specifies the top margin space for the current 3D effect being modified. You can click on the spin buttons to increment or decrement the values. This control corresponds to the MarginTop property of Effect object. This edit box will be disabled when all the 3D styles are removed.

Bottom

Specifies the bottom margin space for the current 3D effect being modified. You can click on the spin buttons to increment or decrement the values. This control corresponds to the MarginBottom property of Effect object. This edit box will be disabled when all the 3D styles are removed.

Preview

This area displays the sample of the current 3D effect being modified, how a container will appear when the chosen style is applied. Whenever you change the attributes, the Preview area is updated so that you can see the results of the change before committing it with either the OK or Apply button.

When the Insert button is clicked, the button’s caption text will be set to OK and the Remove button’s caption text to Cancel. All the properties of the Effect object will be set to the default setting, which displays the style provided internally by the control, equivalent to the built-in Flat style in the Preview area.

Darkness

Specifies the shadow mask color for the current 3D effect being modified. You can click on the spin buttons to increment or decrement the values. This control corresponds to the ShadowDarkness property of Effect object. This edit box will be disabled when all the 3D styles are removed.

Width

Specifies the width of the shadow for the current 3D effect being modified. You can click on the spin buttons to increment or decrement the values. This control corresponds to the ShadowWidth property of Effect object. This edit box will be disabled when all the 3D styles are removed.

BaseColor

Clicking on this button will pop up the Color dialog box for selecting a color for the shadow base color for the current 3D effect being modified. This button will be disabled when all the 3D styles are removed. This control corresponds to the ShadowBaseColor property of Effect object.

OK

Commits the new 3D effect to the EffectsCollection. If the key name is not specified or not unique, an error message will be displayed. After committing by clicking on this button, the caption text for the OK and the Cancel will be set back to Insert and Remove. Note that the OK button of the property page window can also be used for the same purpose.

Cancel

Cancels the new 3D effect to be added the EffectsCollection and sets the current effect back to the previous one in the collection.  After canceling by clicking on this button, the caption text for the OK and the Cancel will be set back to Insert and Remove. Note that the Cancel button of the property page window can also be used for the same purpose.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback