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

Glossary Item Box

GetCustomEditor Method


See Also    DLL    Example

Applies To

fpSpread control

Description

Returns the editor control.

Syntax

C++

Variant CSpreadSheet::GetCustomEditor(LPCTSTR Name, Long Style);

Visual Basic

fpSpread.GetCustomEditor(ByVal Name As String, ByVal Style As Long) As Variant

Parameters

The following parameter is available:

Parameter Description
Name Name of editor control
Style Style of editor control

Remarks

You can use this method to return the editor control for the specified custom cell type and style. Cells using the same custom cell type and style share the same editor control. If the editor control for the specified custom cell type name and style has not been created yet, then calling this method will cause the CTCreateEditorControl event to fire to create the instance. If the specified custom cell is not valid, then this method will return an empty value.

This method returns information for the entire workbook, including all sheets in the control.

Return Type

Variant

See Also

QueryCustomName, SetCustomName methods

DLL Correspondence

SSGetCustomEditor function

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.