CTStringUnFormat Event
Applies To
fpSpread control
Description
Occurs when the formatted string in a custom cell needs to be converted to a value.
Syntax
afx_msg void OnCTStringUnFormatfpSpread(LPCTSTRName, const VARIANT FAR& RendererControl,LPCTSTR Formatted, long Style,VARIANT FAR* Value);
Sub fpSpread_CTStringUnFormat(ByVal Name As String, ByVal RendererControl As Variant, ByVal Formatted As String, ByVal Style As Long, Value As Variant)
Parameters
The following parameters are available:
Parameter | Description |
---|---|
Name | Name of the custom cell type |
RendererControl | Renderer control to use for editing the cell |
Formatted | Formatted string |
Style | Style for the editor control |
Value | Value in the custom cell |
Remarks
This event is for converting a string back to a value. This event fires even if the value is a string.
Note: This event fires when a string value needs to be converted to a value for the cell. This string may come from the Value or ClipValue properties being set with an unformatted string, or from loading a tab delimited file, or from a clipboard paste operation.
See Also
SheetSendingEvent property
SS_CT_STRINGUNFORMAT_ARGS structure
CTCancelEditing events