ScrollBarStyle Property
Applies To
fpSpread control
Description
Sets or returns the scroll bar appearance.
Syntax
long CSpreadSheet::GetScrollBarStyle( );
void CSpreadSheet::SetScrollBarStyle(long value);
[form.]fpSpread.ScrollBarStyle[ = setting%]
Remarks
The following settings are available:
Setting | Description | Constant |
---|---|---|
0 - Inherit | (Default) Inherits the style from the default appearance | ScrollBarStyleInherit |
1 - Classic | Displays the classic appearance | ScrollBarStyleClassic |
2 - VisualStyle | Displays the visual style appearance | ScrollBarStyleVisualStyle |
3 - Enhanced | Displays the enhanced appearance | ScrollBarStyleEnhanced |
The ScrollBarStyle property uses the setting for the AppearanceStyle property by default. If you wish to use a different appearance for the scroll bars, set the ScrollBarStyle property.
Spread Designer
Choose the Book menu, then the Scroll Bars menu, select the Scroll Bars tab, and then choose an option in the Appearance combo box in the Book Display Settings dialog.
Data Type
Integer (Enumerated)
See Also
Customizing the Appearance
Specifying Whether Scroll Bars Are Displayed
Displaying the Special Vertical Scroll Bar
AppearanceStyle property
DLL Correspondence
SSGetScrollBarStyle , SSSetScrollBarStyle functions