Spread 8.0 Documentation
CFGetStringParam Method
Support Options
ActiveX Reference > ActiveX Methods > CFGetStringParam Method

Glossary Item Box

CFGetStringParam Method


See Also    Example

Applies To

fpSpread control

Description

Returns a custom function's string parameter.

Syntax

C++

CString CSpreadSheet::CFGetStringParam (short Param);

Visual Basic

fpSpread.CFGetStringParam(ByVal Param As Integer) As String

Parameters

The following parameters are available:

Parameter Description
Param Index of the string parameter to return

This method can only be used inside the CustomFunction event handler.

You must use the CFGetParamInfo method to check the parameter status and type before calling the CFGetStringParam method.

This method is called for the current sheet setting unless you first set the Sheet property to specify the sheet with which you want to work.

Remarks

You cannot modify the string returned from this method. If necessary, your application should make a copy of the string and then modify it.

Return Type

Value of the specified parameter

See Also

Creating and Using Custom Functions

Sheet property

CustomFunction event

AddCustomFunction, AddCustomFunctionExt, CFGetCellParam, CFGetDoubleParam, CFGetDoubleParamExt, CFGetLongParam, CFGetParamInfo, CFGetRangeParam, CFSetResult, EnumCustomFunction, GetCustomFunction, RemoveCustomFunction methods

Copyright © GrapeCity, inc. All rights reserved.