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

Glossary Item Box

ScrollBarMaxAlign Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns the alignment of the last row and column of the sheet.

Syntax

C++

BOOL CSpreadSheet::GetScrollBarMaxAlign( );
void CSpreadSheet::SetScrollBarMaxAlign(BOOL value);

Visual Basic

[form.]fpSpread.ScrollBarMaxAlign[ = boolean%]

Remarks

The default value for the ScrollBarMaxAlign property is True.

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

When the ScrollBarMaxAlign property is set to True, the last row and column stop scrolling at the bottom and right in the control. When the ScrollBarMaxAlign property is set to False, the sheet continues to scroll until the last row is at the top or the last column is at the left side of the control, displaying the control's gray area.

Spread Designer

Choose the Book menu, then the Scroll Bars menu, select the Scroll Bars tab, and then choose the Align at Last Row and Column check box in the Book Display Settings dialog.

Data Type

Integer (Boolean)

See Also

Specifying Where the Last Column and Row Stop Scrolling

GrayAreaBackColor, ScrollBarExtMode, ScrollBars, ScrollBarShowMax, ScrollBarTrack properties

DLL Correspondence

SSGetBool (SSB_SCROLLBARMAXALIGN), SSSetBool (SSB_SCROLLBARMAXALIGN) functions

Copyright © GrapeCity, inc. All rights reserved.