CTIsValid Event
Applies To
fpSpread control
Description
Occurs when a value in a custom cell needs to be validated.
Syntax
C++
afx_msg void OnCTIsValidfpSpread(LPCTSTRName, const VARIANT FAR& EditorControl,const VARIANT FAR& Value, BOOL FAR*IsValid);
Visual Basic
Sub fpSpread_CTIsValid(ByVal Name As String, ByVal EditorControl As Variant, ByVal Value As Variant,IsValid 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 |
Value | Value to validate |
IsValid | Whether the value is valid |
Remarks
This event allows you to validate the data.
Note: All values are considered valid if this event is not implemented.
See Also
SheetSendingEvent property
SS_CT_ISVALID_ARGS structure
CTCancelEditing events