TabStripPolicy Property
Applies To
fpSpread control
Description
Sets or returns whether the tab strip is displayed, and whether it is displayed all the time or as needed.
Syntax
long CSpreadSheet::GetTabStripPolicy( );
void CSpreadSheet::SetTabStripPolicy(long value);
[form.]fpSpread.TabStripPolicy[ = setting%]
Remarks
The following settings are available:
Setting | Description | Constant |
---|---|---|
0 - As Needed | (Default) Displays the tab strip when there are multiple sheets in the workbook | TabStripPolicyAsNeeded |
1 - Always | Always displays the tab strip | TabStripPolicyAlways |
2 - Never | Never displays the tab strip | TabStripPolicyNever |
Set the TabStripFont property to specify the font settings for the text displayed in the sheet tabs. Set the TabStripRatio property to specify the width of the tab strip in relation to the width of the control.
Spread Designer
Choose the Book menu, then the Sheet and Tab menu, select the Sheet and Tab tab, and then choose an item in the Policy combo box in the Tab Strip group box in the Book Settings dialog box.
Data Type
Integer (Enumerated)
See Also
TabStripFont, TabStripRatio properties
DLL Correspondence
SSGetTabStripPolicy, SSSetTabStripPolicy functions