Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

GetCellEditSelection Method, SftTree Object

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

Syntax

VB.NETobject.GetCellEditSelection(ByRef iStart As Integer, ByRef iEnd As Integer)
VBobject.GetCellEditSelection(iStart As Long, iEnd As Long)
C#.NETvoid object.GetCellEditSelection(out int iStart, out int iEnd);
VC++HRESULT object->GetCellEditSelection(long* iStart, long* iEnd);
CHRESULT object->raw_GetCellEditSelection(long* iStart, long* iEnd);

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

The GetCellEditSelection method returns the position of the selection during cell editing.

The GetCellEditSelection 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


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