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

Glossary Item Box

RetainSelBlock Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns whether the selected block of cells in the sheet remains highlighted when the control loses the focus.

Syntax

C++

BOOL CSpreadSheet::GetRetainSelBlock( );
void CSpreadSheet::SetRetainSelBlock(BOOL value);

Visual Basic

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

Remarks

The default value for the RetainSelBlock property is True.

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

When the RetainSelBlock property is set to True, the selected block of cells retains its highlighting. When the RetainSelBlock property is set to False, the application removes the highlighting from the selected block, but then restores it when the control regains the focus. This also applies to the active cell.

Spread Designer

Choose the Book menu, then the Environment menu, select the Environment tab, and then choose the Retain Selected Block check box in the Book Settings dialog box.

Data Type

Integer (Boolean)

See Also

Hiding Selections When Not in Focus

DLL Correspondence

SSGetBool (SSB_RETAINSELBLOCK), SSSetBool (SSB_RETAINSELBLOCK) functions

Copyright © GrapeCity, inc. All rights reserved.