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

Glossary Item Box

CTCancelEditing Event


See Also

Applies To

fpSpread control

Description

Occurs when editing is cancelled in a custom cell type.

Syntax

C++

afx_msg void OnCTCancelEditingfpSpread(LPCTSTR Name,const VARIANT FAR& EditorControl, short Sheet,long Col,long Row);

Visual Basic

Sub fpSpread_CTCancelEditing(ByVal Name As String, ByVal EditorControl As Variant, ByVal Sheet As Integer,ByVal Col As Long, ByVal Row As Long)

Parameters

The following parameters are available:

Parameter Description
Name Name of the custom cell type
EditorControl Editor control to use for editing the cell
Col Column number of cell containing the custom cell
Row Row number of cell containing the custom cell
Sheet Sheet number containing the custom cell

Remarks

Use this event if you want to remove event handles, etc... when creating a custom cell. Editing is cancelled when the user presses the ESC key while in edit mode.

See Also

SheetSendingEvent property

SS_CT_CANCELEDITING_ARGS structure

CTCreateEditorControl events

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.