VScrollSpecialType Property
Applies To
fpSpread control
Description
Sets or returns the scroll arrows to display on the special vertical scroll bar.
Syntax
long CSpreadSheet::GetVScrollSpecialType( );
void CSpreadSheet::SetVScrollSpecialType(long value);
[form.]fpSpread.VScrollSpecialType[ = value&]
Remarks
Use the VScrollSpecialType property in conjunction with the VScrollSpecial property: the VScrollSpecial property turns on the scroll bar and the VScrollSpecialType property sets the style of scroll bar to display.
The following values are available. Note that you can combine values 1, 2, and 4 using the Or operator to customize display of the special scroll arrows. The default value is 0, which displays the home/end, page up/page down, and line up/line down arrows.
Value | Description | Constant |
---|---|---|
1 | Does not display the home and end arrows | VScrollSpecialTypeNoHomeEnd |
2 | Does not display the page up and page down arrows | VScrollSpecialNoPageUpDown |
4 | Does not display the line up and line down arrows | VScrollSpecialTypeNoLineUpDown |
This setting is applied to the entire workbook, including all sheets in the control.
Spread Designer
Choose the Book menu, then the Virtual Mode menu, and then choose the No Home/End, No Page Up/Down, or No Line Up/Down check box in the Virtual Scroll Bar group box in the Virtual Mode dialog box.
Data Type
Integer
See Also
Displaying the Special Vertical Scroll Bar
VirtualMode, VirtualScrollBuffer, VScrollSpecial properties
QueryData event
DLL Correspondence
SSVScrollGetSpecial, SSVScrollSetSpecial functions