SelText Property
Applies To
fpSpread control
Description
Sets or returns the selected text within the active cell. This property is available at run time only.
Syntax
CString CSpreadSheet::GetSelText( );
void CSpreadSheet::SetSelText(LPCTSTR value);
[form.]fpSpread.SelText[ = text$]
Remarks
This property is valid only when the cell is in edit mode.
You cannot use the SelText 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 length of the selection using the SelLength property.
Data Type
String
See Also
SelLength, SelStart, Sheet properties
EditMode event
DLL Correspondence
SSGetSelText, SSReplaceSel functions