Copyright © 1998-2015 MultiMedia Soft

SwapEffectsColors property

Previous pageReturn to chapter overviewNext page

Type

BOOL for Visual C++

boolean for Visual Basic

 

 

Syntax

object.SwapEffectsColors [=boolean]

 

 

Remarks

When a special effect has been selected through the SpecialEffect property, swaps the colors set for the external and internal portions of the button's surface.

This property can be changed at Design time using the "Colors" tab.

Supported values are the following:

Value

Meaning

FALSE (default)

Colors are not swapped.

TRUE

Colors are swapped.

 

 

Below you can see two buttons whose SpecialEffect property has been set to SPECIAL_EFFECT_RAISED. The button on the left has the ColorSurfaceNormal.Color property set to a light blue and the ColorSurfaceInternal.Color property set to red. The button on the right has exactly the same color settings but the SwapEffectsColors property has been set to TRUE, resulting in a swap of the involved colors.

 

3dabm_i0000cf

 

For further details about colors change, see the How to change the button colors section.