TypeCheckText Property
Applies To
fpSpread control
Description
Sets or returns the text in a check box cell. This property is available at run time only.
Syntax
CString CSpreadSheet::GetTypeCheckText( );
void CSpreadSheet::SetTypeCheckText(LPCTSTR value);
[form.]fpSpread.TypeCheckText[ = text$]
Remarks
To use the TypeCheckText 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 TypeCheckText property for a cell or cells, any subsequent check box cells you create will use the same TypeCheckText setting unless you reset it for those cells.
The TypeCheckText 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 type text in the Text edit box in the Cell Type Settings dialog box.
Data Type
String
See Also
Specifying the Text for a Check Box Cell
CellType, Col, Row, Sheet, TypeCheckPicture, TypeCheckTextAlign properties
DLL Correspondence
SSSetTypeCheckBox function