TabStripButtonPolicy Property
Applies To
fpSpread control
Description
Sets or returns whether the tab strip buttons are displayed, and whether they are displayed all the time or as needed.
Syntax
long CSpreadSheet::GetTabStripButtonPolicy( );
void CSpreadSheet::SetTabStripButtonPolicy(long value);
[form.]fpSpread.TabStripButtonPolicy[ = setting%]
Remarks
The following settings are available:
Setting | Description | Constant |
---|---|---|
0 - As Needed | (Default) Displays the tab strip buttons when there are multiple sheets in the workbook | TabStripButtonPolicyAsNeeded |
1 - Always | Always displays the tab strip buttons | TabStripButtonPolicyAlways |
2 - Never | Never displays the tab strip buttons | TabStripButtonPolicyNever |
The tab strip buttons allow you to change sheets one at a time or move to the first or last sheet by clicking on the button.
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 Button 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
SSGetTabStripButtonPolicy, SSSetTabStripButtonPolicy functions