Spread 8.0 Documentation
SSGetTabStripPolicy, SSSetTabStripPolicy Functions
Support Options
DLL Reference > DLL Functions > SSGetTabStripPolicy, SSSetTabStripPolicy Functions

Glossary Item Box

SSGetTabStripPolicy, SSSetTabStripPolicy Functions


See Also    ActiveX    Example

Applies To

fpSpread DLL control

Description

Set or return whether the tab strip is displayed, and whether it is displayed all the time or as needed.

Syntax

C

WORD SSGetTabStripPolicy(HWND hWnd);

WORD SSSetTabStripPolicy(HWND hWnd, WORD wTabStripPolicy);

C++

WORD TSpread::GetTabStripPolicy( );

WORD TSpread::SetTabStripPolicy(WORD wTabStripPolicy);

Parameters

The SSGetTabStripPolicy function has the following parameter:

Parameter Description
hWnd Window handle of the fpSpread control

The SSSetTabStripPolicy function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
wTabStripPolicy Numbering style
Use one of the following values:
Constant Description
SS_TABSTRIPPOLICY_ASNEEDED Displays the tab strip when there are multiple sheets in the workbook
SS_TABSTRIPPOLICY_ALWAYS Always displays the tab strip
SS_TABSTRIPPOLICY_NEVER Never displays the tab strip

Remarks

This function is applied to the tab strip displayed for the workbook.

By default, the tab strip is displayed as needed.

Return Value

Previous value (refer to the wTabStripPolicy parameter for an explanation of the available return values).

See Also

Customizing the Tab Strip

SSGetTabStripFont, SSGetTabStripLeftSheet, SSGetTabStripRatio, SSSetTabStripFont, SSSetTabStripLeftSheet, SSSetTabStripRatio functions

ActiveX Correspondence

TabStripPolicy property

Copyright © GrapeCity, inc. All rights reserved.