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

Glossary Item Box

TypeTimeSeconds Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns whether seconds are displayed in a time cell. This property is available at run time only.

Syntax

C++

BOOL CSpreadSheet::GetTypeTimeSeconds( );
void CSpreadSheet::SetTypeTimeSeconds(BOOL value);

Visual Basic

[form.]fpSpread.TypeTimeSeconds[ = boolean%]

Remarks

The default value for the TypeTimeSeconds property is False.

When the TypeTimeSeconds property is set to True, seconds are displayed in the time cell.

To use the TypeTimeSeconds 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 TypeTimeSeconds property for a cell or cells, any subsequent time cells you create will use the same TypeTimeSeconds setting unless you reset it for those cells.

The TypeTimeSeconds property does not have an effect unless the CellType property is set to 6 (Time) for the specified cell or cells.

Spread Designer

Choose the Cell menu, the Cell Type menu, the Time menu, and then the Settings tab, and then select the Display Seconds check box in the Cell Type Settings dialog box.

Data Type

Integer (Boolean)

See Also

Formatting a Time Cell

CellType, Sheet, TypeTime24Hour, TypeTimeSeparator, properties

DLL Correspondence

SSSetTypeTime function

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