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

Glossary Item Box

BeforeRowMove Event


See Also

Applies To

fpSpread control

Description

Occurs when the user attempts to move a row.

Syntax

C++

ON_EVENT(CDialog1, IDC_FPSPREAD1, 129 /* BeforeRowMove */,OnBeforeRowMoveFpspread1, VTS_I4 VTS_I4 VTS_I4VTS_PVARIANT)

void CDialog1::OnBeforeRowMoveFpspread1(long Row, long Row2,long RowDest, VARIANT FAR* Cancel);

Visual Basic

Event fpSpread_BeforeRowMove(ByVal Row As Long, ByVal Row2AsLong, ByVal RowDest As Long, Cancel As Variant)

Parameters

The following parameter is available:

Parameter Description
Row The first row being moved
Row2 The last row being moved
RowDest The destination row
Cancel Set this value to true to prevent the row from moving

Remarks

The cancel parameter can be used to cancel the operation. Currently only one row can be moved at a time.

See Also

Allowing Users to Move Columns or Rows

AllowRowMove properties

Copyright © GrapeCity, inc. All rights reserved.