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

Glossary Item Box

ActiveSheet Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns the active sheet. This property is available at run time only.

Syntax

C++

short CSpreadSheet::GetActiveSheet( );
void CSpreadSheet::SetActiveSheet(short value);

Visual Basic

[form.]fpSpread.ActiveSheet[ = value%]

Remarks

The active sheet is the sheet that currently contains the active cell.

Use the ActiveCol and ActiveRow property to return the column and row number for the active cell.

The user can change the active sheet by clicking a sheet tab in the tab strip displayed at the bottom of the control, depending on the setting of the TabStripPolicy property.

Data Type

Integer

See Also

Working with the Active Cell

ActiveCol, ActiveRow, TabStripPolicy properties

SetActiveCell method

DLL Correspondence

SSGetActiveSheet, SSSetActiveSheet functions

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