ComponentOne True DBInput Pro 8.0
BevelLight Property (Effect)

 

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

BevelLight Property (Effect)

The BevelLight property calculates the 3D light area color by percentage based on the color specified in the BackColor property.

Syntax

object.BevelLight= integer

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

Values

-100 ~ 100 (25 is the default)

Remarks

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 light color is calculated as follows:

BevelLight    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 BevelShade property to make detailed adjustments to the brightness of the bevel color.

The BevelLight property will usually be set to a positive value, since 3D light colors are lighter than the background color.

See Also

BevelShade Property (Effect)

BackColor Property (Effect)

 

 


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

Product Support Forum  |  Documentation Feedback