Spread 8.0 Documentation
SelLength Property
Support Options
ActiveX Reference > ActiveX Properties > SelLength Property

Glossary Item Box

SelLength Property


See Also    DLL    Example

Applies To

fpSpread control

Description

Sets or returns the length of selected data within the active cell when the cell is in edit mode. This property is available at run time only.

Syntax

C++

long CSpreadSheet::GetSelLength( );
void CSpreadSheet::SetSelLength(long value);

Visual Basic

[form.]fpSpread.SelLength[ = value&]

Remarks

This property is valid only when the cell is in edit mode.

You cannot use the SelLength property in the EditMode event.

This setting is applied to the current sheet setting unless you first set the Sheet property to specify the sheet for which you are setting the property.

Set or return the starting point for a selection using the SelStart property. Set or return the selected text using the SelText property.

Data Type

Long Integer

See Also

SelStart, SelText, Sheet properties

EditMode event

DLL Correspondence

SSGetSel, SSSetSel functions

Copyright © GrapeCity, inc. All rights reserved.