ColWidthChange Event
Applies To
fpSpread control
Description
Occurs when the user changes the column width using the mouse.
Syntax
C++
afx_msg void OnColWidthChangefpSpread(UINT, int, CWnd*, LPVOID);
Visual Basic
Sub fpSpread_ColWidthChange(ByVal Col1 As Long, ByVal Col2 As Long)
Parameters
The following parameters are available:
Parameter | Description |
---|---|
Col1 | Column number of first column whose width changed |
Col2 | Column number of last column whose width changed |
Remarks
In most cases, the column value for the Col2 parameter is the same as the value of the Col1 parameter. If the value is larger, the widths of the range of columns specified by Col1 and Col2 have all changed.
Use the SheetSendingEvent property if you want to return the sheet for which this event occured.
See Also
ColWidth, SheetSendingEvent, UserResize, UserResizeCol properties
RowHeightChange event