CTStopEditing Event
Applies To
fpSpread control
Description
Occurs when editing should stop in a custom cell.
Syntax
C++
afx_msg void OnCTStopEditingfpSpread(LPCTSTRName, const VARIANT FAR& EditorControl,short Sheet, long Col, long Row, BOOL FAR* Cancel);
Visual Basic
Sub fpSpread_CTStopEditing(ByVal Name As String, ByVal EditorControl As Variant, ByVal Sheet As Integer,ByVal Col As Long, ByVal Row As Long, Cancel As Boolean)
Parameters
The following parameters are available:
Parameter | Description |
---|---|
Name | Name of the custom cell type |
EditorControl | Editor control to use for editing the cell |
Sheet | Sheet number of the custom cell |
Col | Column number of the custom cell |
Row | Row number of the custom cell |
Cancel | True to cancel edit mode stopping |
Remarks
This event notifies you when editing should stop in the custom cell. The Cancel parameter allows you to cancel edit mode stopping so you can keep edit mode on while displaying a subeditor.
See Also
SheetSendingEvent property
SS_CT_STOPEDITING_ARGS structure
CTCancelEditing events