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

Glossary Item Box

TypeCheckType Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns whether a check box is a two-state or three-state check box. This property is available at run time only.

Syntax

C++

long CSpreadSheet::GetTypeCheckType( );
void CSpreadSheet::SetTypeCheckType(long value);

Visual Basic

[form.]fpSpread.TypeCheckType[ = setting%]

Remarks

The following settings are available:

Setting Description Constant
0 - Two-state (Default) Specifies that the check box is a two-state check box TypeCheckTypeNormal
1 - Three-state Specifies that the check box is a three-state check box TypeCheckTypeThreeState

Use the Text property to determine the current state. If the Text property has a value of 1, the check box is checked. If the Text property has a value of 0, the box is not checked. If the Text property has a value of 2, the box is indeterminate.

To use the TypeCheckType 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.

The TypeCheckType property does not have an effect unless the CellType property is set to 10 (Check Box) for the specified cell or cells.

Spread Designer

Choose the Cell menu, the Cell Type menu, the Check Box menu, and then the Settings tab, and then select an option in the Type group box in the Cell Type Settings dialog box.

Data Type

Integer (Enumerated)

See Also

Creating a Check Box Cell and Setting Its Type

CellType, Col, Row, Sheet, Text, TypeCheckPicture properties

DLL Correspondence

SSSetTypeCheckBox function

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.