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

Glossary Item Box

ScrollBarHeight Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns the height of the horizontal scroll bar in pixels.

Syntax

C++

short CSpreadSheet::GetScrollBarHeight();
void CSpreadSheet::SetScrollBarHeight(short value);

Visual Basic

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

Remarks

The default value of the ScrollBarHeight 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 height of the horizontal scroll bar. Use the ScrollBarHColor to set the color of the horizontal scroll bar. Set the ScrollBarWidth property to set the width of the vertical 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 Height spin box in the Book Display Settings dialog.

Data Type

Integer

See Also

Customizing Scroll Bar Color and Size

ScrollBarHColor, ScrollBarWidth properties

DLL Correspondence

SSGetScrollBarSize, SSSetScrollBarSize functions

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.