Spread 8.0 Documentation
SSGetTabStripRatio, SSSetTabStripRatio Functions
Support Options
DLL Reference > DLL Functions > SSGetTabStripRatio, SSSetTabStripRatio Functions

Glossary Item Box

SSGetTabStripRatio, SSSetTabStripRatio Functions


See Also    ActiveX    Example

Applies To

fpSpread DLL control

Description

Set or return the width of the tab strip in relation to the width of the control.

Syntax

C

double SSGetTabStripRatio(HWND hWnd);

double SSSetTabStripRatio(HWND hWnd, double nTabStripRatio);

C++

double TSpread::GetTabStripRatio( );

double TSpread::SetTabStripRatio(double nTabStripRatio);

Parameters

The SSGetTabStripRatio function has the following parameter:

Parameter Description
hWnd Window handle of the fpSpread control

The SSSetTabStripRatio function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
nTabStripRatio Ratio to set the width of the tab strip expressed as a value between 0 and 1 (such as 0.25)

Remarks

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

By default the ratio is 0.6.

Return Value

SSGetTabStripRatio: Current tab strip ratio.
SSSetTabStripRatio: Former tab strip ratio.

See Also

Customizing the Tab Strip

SSGetTabStripFont, SSGetTabStripLeftSheet, SSGetTabStripPolicy, SSSetTabStripFont, SSSetTabStripLeftSheet, SSSetTabStripPolicy functions

ActiveX Correspondence

TabStripRatio property

Copyright © GrapeCity, inc. All rights reserved.