Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

SetCellEditSelection Method, SftTree Object

Sets the position of the selection during cell editing.

Deprecated - Provided for compatibility with earlier versions only - See Cell Editing - This method continues to be used with Internet Explorer as it does not support the new cell editing mechanisms introduced with SftTree/OCX 5.0.

Syntax

VB.NETobject.SetCellEditSelection(ByVal iStart As Integer, ByVal iEnd As Integer)
VBobject.SetCellEditSelection(ByVal iStart As Long, ByVal iEnd As Long)
C#.NETvoid object.SetCellEditSelection(int iStart, int iEnd);
VC++HRESULT object->SetCellEditSelection(long iStart, long iEnd);
CHRESULT object->raw_SetCellEditSelection(long iStart, long iEnd);

object

A SftTree object.

iStart

The zero-based starting position of the first selected character of the edit control used for cell editing. If iStart is 0 and iEnd is -1, all the text in the control is selected.

iEnd

The zero-based ending position, i.e. the position of the first character that is not selected. If iStart is 0 and iEnd is -1, all the text in the control is selected.

Comments

Deprecated - Provided for compatibility with earlier versions only - See Cell Editing - This method continues to be used with Internet Explorer as it does not support the new cell editing mechanisms introduced with SftTree/OCX 5.0.

The SetCellEditSelection method sets the position of the selection during cell editing.

The SetCellEditSelection method is only available if cell editing has been started using StartEdit, StartCombo or StartComboEdit and cannot be used if cell editing has been initiated using Cell.Edit.

Use GetCellEditSelection to retrieve the position of the current selection.

See Also SftTree Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.