Spread 8.0 Documentation
ScrollBarWidth Property
Support Options
ActiveX Reference > ActiveX Properties > ScrollBarWidth Property

Glossary Item Box

ScrollBarWidth Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns the width of the vertical scroll bar in pixels.

Syntax

C++

short CSpreadSheet::GetScrollBarWidth();
void CSpreadSheet::SetScrollBarWidth(short value);

Visual Basic

[form.]fpSpread.ScrollBarWidth[ = value%]

Remarks

The default value of the ScrollBarWidth property is –1, which means the control uses the system default setting.

This setting is applied to the entire workbook, including all sheets in the control.

Use this property to set the width of the vertical scroll bar. Use the ScrollBarVColor to set the color of the vertical scroll bar. Set the ScrollBarHeight property to set the height of the horizontal scroll bar.

Spread Designer

Choose the Book menu, then the Scroll Bars menu, select the Scroll Bars tab, and then type or select a number in the Width spin box in the Book Display Settings dialog.

Data Type

Integer

See Also

Customizing Scroll Bar Color and Size

ScrollBarVColor, ScrollBarHeight properties

DLL Correspondence

SSGetScrollBarSize, SSSetScrollBarSize functions

Copyright © GrapeCity, inc. All rights reserved.