ComponentOne True DBInput Pro 8.0
BevelShade Property (Effect)

 

Reference> Effect Object> Effect Object Properties> BevelShade Property (Effect)

BevelShade Property (Effect)

Syntax

object.BevelShade= integer

Read/Write at run time. Not available at design time.

Values

-100 ~ 100 (-25 is the default)

Remarks

The BevelShade property calculates the 3D shade area color by percentage based on the color specified in the BackColor property. When set to 0, the same color as the background color is used. When a positive value is set, a color brighter, and when a negative value is set, a color darker than the background color will take effect.

Given a BackColor of &HC0C0C0 (RGB(192, 192, 192)), the bevel's shade color is calculated as follows:

BevelShade    Calculation                Color used

----------    -----------                ----------

0             192 + (192 * 0 / 100)      RGB(192,192,192)

25            192 + (192 * 25 / 100)     RGB(240,240,240)

-25           192 + (192 * -25 / 100)    RGB(144,144,144)

This property can be used with the BevelLight property to make detailed adjustments to the brightness of the bevel color.

The BevelShade property will usually be set to a negative value, since 3D shade colors are darker than the background color.

See Also

BevelLight Property (Effect)

BackColor Property (Effect)

 

 


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

Product Support Forum  |  Documentation Feedback