Spread 8.0 Documentation
SelChange Event
Support Options
ActiveX Reference > ActiveX Events > SelChange Event

Glossary Item Box

SelChange Event


See Also

Applies To

fpSpread control

Description

Occurs while the user is selecting a block of cells.

Syntax

C++

afx_msg void OnSelChangefpSpread(UINT, int, CWnd*, LPVOID);

Visual Basic

Sub fpSpread_SelChange(ByVal BlockCol As Long, ByVal BlockRow As Long, ByVal BlockCol2 As Long, ByVal BlockRow2 As Long, ByVal CurCol As Long, ByVal CurRow As Long)

Parameters

The following parameters are available:

Parameter Description
BlockCol Column number of cell in upper-left corner of block
BlockRow Row number of cell in upper-left corner of block
BlockCol2 Column number of cell in lower-right corner of block
BlockRow2 Row number of cell in lower-right corner of block
CurCol Column number of cell containing mouse pointer
CurRow Row number of cell containing mouse pointer

Remarks

The SelChange event occurs each time the selected block changes when the user extends the selection by dragging the mouse or by pressing the Shift key and an arrow key simultaneously.

Use the SheetSendingEvent property if you want to return the sheet for which this event occured.

See Also

SelectBlockOptions, SheetSendingEvent properties

BlockSelected event

Copyright © GrapeCity, inc. All rights reserved.