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

Glossary Item Box

CTStringUnFormat Event


See Also

Applies To

fpSpread control

Description

Occurs when the formatted string in a custom cell needs to be converted to a value.

Syntax

C++

afx_msg void OnCTStringUnFormatfpSpread(LPCTSTRName, const VARIANT FAR& RendererControl,LPCTSTR Formatted, long Style,VARIANT FAR* Value);

Visual Basic

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

Copyright © GrapeCity, inc. All rights reserved.