Spread 8.0 Documentation
TypeButtonTextColor Property
Support Options
ActiveX Reference > ActiveX Properties > TypeButtonTextColor Property

Glossary Item Box

TypeButtonTextColor Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns the color of the text in a button cell. This property is available at run time only.

Syntax

C++

unsigned long CSpreadSheet::GetTypeButtonTextColor( );
void CSpreadSheet::SetTypeButtonTextColor(unsigned long value);

Visual Basic

[form.]fpSpread.TypeButtonTextColor[ = color]

Remarks

The default value for the TypeButtonTextColor property is &H00000000& (black).

To use the TypeButtonTextColor property, specify the sheet with which you want to work by setting the Sheet property. Then specify the cell or cells to which to apply the property, as described in Using Column and Row Properties. Once you set the TypeButtonTextColor property for a cell or cells, any subsequent button cells you create will use the same TypeButtonTextColor setting unless you reset it for those cells.

The TypeButtonTextColor property does not have an effect unless the CellType property is set to 7 (Button) for the specified cell or cells.

Spread Designer

Choose the Cell menu, the Cell Type menu, the Button menu, and then the Settings tab, and then select TextColor in the drop-down list box in the Color group box in the Cell Type Settings dialog box.

Data Type

Color

See Also

Setting Background and Text Colors of Button Cells

CellType, Col, Row, Sheet, TypeButtonBorderColor, TypeButtonColor, TypeButtonDarkColor, TypeButtonLightColor, TypeButtonText properties

DLL Correspondence

SSSetTypeButton function

Copyright © GrapeCity, inc. All rights reserved.