SftTree/OCX 7.0

SftTree.GetCellEditSelection Method

Softel vdm, Inc.

Returns 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 7.0.

Syntax       

VB.NET

object.GetCellEditSelection(ByRef iStart As Integer, ByRef iEnd As Integer)

VB

object.GetCellEditSelection(iStart As Long, iEnd As Long)

C#.NET

void object.GetCellEditSelection(out int iStart, out int iEnd);

VC++

HRESULT object->GetCellEditSelection(long* iStart, long* iEnd);

C

HRESULT object->raw_GetCellEditSelection(long* iStart, long* iEnd);

Delphi

procedure object.GetCellEditSelection(out iStart : Integer, out iEnd : Integer);

object

A SftTree object.

iStart

Returns the zero-based starting position of the first selected character of the edit control used for cell editing.  -1 is returned if cell editing is not active or if it has not been started using StartEdit, StartCombo or StartComboEdit.

iEnd

Returns the zero-based ending position, i.e. the position of the first character that is not selected.  -1 is returned if cell editing is not active or if it has not been started using StartEdit, StartCombo or StartComboEdit.

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 7.0.

The GetCellEditSelection method returns 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 SetCellEditSelection to update the position of the current selection. 

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com