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

Glossary Item Box

BeforeColMove Event


See Also

Applies To

fpSpread control

Description

Occurs when the user attempts to move a column.

Syntax

C++

ON_EVENT(CDialog1, IDC_FPSPREAD1, 128 /* BeforeColMove */,OnBeforeColMoveFpspread1, VTS_I4 VTS_I4 VTS_I4VTS_PVARIANT)

void CDialog1::OnBeforeColMoveFpspread1(long Col, long Col2,long ColDest, VARIANT FAR* Cancel);

Visual Basic

Event fpSpread_BeforeColMove(ByVal Col As Long, ByVal Col2 AsLong, ByVal ColDest As Long, Cancel As Variant)

Parameters

The following parameter is available:

Parameter Description
Col The first column being moved
Col2 The last column being moved
ColDest The destination column
Cancel Set this value to true to prevent the column from moving

Remarks

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

See Also

Allowing Users to Move Columns or Rows

AllowColMove properties

Copyright © GrapeCity, inc. All rights reserved.